-
Notifications
You must be signed in to change notification settings - Fork 118
Dragonwell 11 AI‐Extension User Guide
Alibaba Dragonwell 11 AI-Extension is an OpenJDK production-grade downstream release developed based on Dragonwell 11 Extended Edition. The AI-Extension is deeply optimized for AI big data scenarios. Through Native acceleration technology, it helps enterprise customers maximize the performance of Java applications in AI big data scenarios.
Dragonwell AI-Extension is an extension of Alibaba Dragonwell JDK, itself based on Dragonwell 11.0.30.27.7 or newer versions. You can use the following command to install the latest AI-Extension package:
yum install java-11-alibaba-dragonwell-ai-extensionAI-Extension supports two parameters:
-
-XX:+UseAIExtension: This parameter is used to enable AI-Extension capabilities. It is currently a preview feature and needs to be used in conjunction with the-XX:+UnlockExperimentalVMOptionsoption. As the system matures, this option will become an official feature in subsequent versions. -
-XX:AIExtensionUnit=xxx: This parameter can be used to load specific acceleration libraries designed for different scenarios.
AI-Extension currently supports accelerating Spark 3.5.x on the x86-64 platform. To enable this feature, you can add the following parameters to the Java startup command:
java -XX:+UnlockExperimentalVMOptions -XX:+UseAIExtension -XX:AIExtensionUnit=spark_3.5 ..Alibaba Dragonwell 11 AI-Extension is developed based on Dragonwell 11 Extended Edition. Dragonwell 11 Extended Edition is a downstream distribution of OpenJDK 11. You can directly use the AI-Extension to run existing JDK 11 applications without any code adaptation or migration.
Alibaba Dragonwell 11 AI-Extension provides Long-Term Support (LTS), and the maintenance cycle remains synchronized with OpenJDK: we will release updated versions every quarter. During this period, Alibaba Cloud will continue to provide performance optimization and security maintenance services for Dragonwell 11, so you can use it with confidence.