Request for RISC-V Architecture Support in Elasticsearch #126888
Labels
:Delivery/Build
Build or test infrastructure
>enhancement
Team:Delivery
Meta label for Delivery team
Description
Description: As RISC-V architecture gains momentum in cloud-native and edge computing scenarios, we propose adding official RISC-V support to Elasticsearch. This would enable deployments on RISC-V based servers/IoT devices and align with the open-source philosophy shared by both projects.
Technical Considerations:
JDK Compatibility: Requires OpenJDK RISC-V port (currently experimental in JDK 21+). Track progress via OpenJDK Portola Project
Native Libraries:
Rebuild JNI components (e.g., Lucene native modules, Netty transport) for RISC-V
Verify dependencies like zlib/jemalloc compatibility
CI/CD Pipeline:
Add RISC-V build targets (QEMU emulation or physical hardware)
Cross-compilation support in Gradle build system
Performance Testing:
Benchmark search/ingestion performance on RISC-V vs x86/ARM
Memory management validation for 64-bit RV64GC
Community Impact:
Proposed Milestones:
Phase 1: CI pipeline setup with RISC-V emulation
Phase 2: Core functionality validation
Phase 3: Performance optimization
Additional Context: Recent RISC-V developments show promising server-grade implementations like Alibaba Xuantie and Ventana Veyron. Reference implementations exist in python/cpython#104071 and MySQL.
Would appreciate feedback from maintainers on feasibility and potential collaboration avenues.
The text was updated successfully, but these errors were encountered: