Author Topic: [DEV] Using Java's Vector API on PPC64LE  (Read 697 times)

icbts

  • Newbie
  • *
  • Posts: 6
  • Karma: +5/-0
    • View Profile
[DEV] Using Java's Vector API on PPC64LE
« on: March 14, 2025, 12:59:40 pm »

Wanted to share this video I made on our experiences with Java's Vector API (incubating) on PPC64LE:
https://www.youtube.com/watch?v=auqYQdul52k

Its a mixed bag at this point in time - some workflows benefit, while some others do not.

The implementation of Vector API is x64/AArch64, with allowances to let other architectures provide implementation in the future. Perhaps this video will help encourage JVM implementations to address the shortfall.

tle

  • Sr. Member
  • ****
  • Posts: 490
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] Using Java's Vector API on PPC64LE
« Reply #1 on: March 16, 2025, 12:08:09 am »
Awesome work! I have not touched Java Vector API at work but your work peak my interests.
Faithful Linux enthusiast

My Raptor Blackbird

icbts

  • Newbie
  • *
  • Posts: 6
  • Karma: +5/-0
    • View Profile
Re: [DEV] Using Java's Vector API on PPC64LE
« Reply #2 on: March 16, 2025, 06:55:36 am »
Thanks  :)

If you have any suggestions for future Java on PPC64LE videos please feel free to share - my youtube feed feels devoid of content at times :(

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 491
  • Karma: +39/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [DEV] Using Java's Vector API on PPC64LE
« Reply #3 on: March 16, 2025, 03:01:21 pm »
Very nicely done.

tle

  • Sr. Member
  • ****
  • Posts: 490
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] Using Java's Vector API on PPC64LE
« Reply #4 on: March 17, 2025, 06:47:27 am »
Thanks  :)

If you have any suggestions for future Java on PPC64LE videos please feel free to share - my youtube feed feels devoid of content at times :(

I think getting GraalVM to support PPC64LE would be endless source of content.
Faithful Linux enthusiast

My Raptor Blackbird

icbts

  • Newbie
  • *
  • Posts: 6
  • Karma: +5/-0
    • View Profile
Re: [DEV] Using Java's Vector API on PPC64LE
« Reply #5 on: March 21, 2025, 06:40:35 am »
The core team doesn't seem to be interested in having it supported:
https://github.com/oracle/graal/issues/5238

No idea how large a project making a fork would be; assumption is that its a very large porting effort.

tle

  • Sr. Member
  • ****
  • Posts: 490
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] Using Java's Vector API on PPC64LE
« Reply #6 on: March 23, 2025, 03:32:02 am »
The core team doesn't seem to be interested in having it supported:
https://github.com/oracle/graal/issues/5238

No idea how large a project making a fork would be; assumption is that its a very large porting effort.

I can understand why many projects choose not to simply because they do not have access to the hardware. What IF we could have a super performant x86->ppc64 translation in VM like how Apple or MS does x86->arm64... if IBM truly cares, I am pretty sure it could be done
Faithful Linux enthusiast

My Raptor Blackbird

icbts

  • Newbie
  • *
  • Posts: 6
  • Karma: +5/-0
    • View Profile
Re: [DEV] Using Java's Vector API on PPC64LE
« Reply #7 on: March 23, 2025, 07:37:27 am »
I agree that it would likely have to be IBM to sponsor such a project.

Hardware, developers, QA, Project management, documentation, etc would be significant.
Could AIs help reduce the cost or cut time lines? Possibly.

I imagine such a team would take several quarters to produce something nearing an Alpha, productizing several quarters more.

Thinking out that timeline, we'd be in to Power11's life cycle, potentially the Solid Silicon chip would be real as Power10 compatible. The market will have further moved into AArch64, with RISC-V maturing towards early viable production systems. PPCs continue in their markets with constant shrinkage due to migrations. I guess it becomes a long term question - Does IBM have plans for Power 12/13/14 bringing the ecosystem through the 2030s? What is the plan to build development resources for the road map?

Perhaps I'm heading into discussion points for another part of the forum.


From my point of view the low hanging fruit is getting Java based applications to work nicely on POWER. My focus has been on Apache CXF, ActiveMQ, Camel, Karaf, Kafka - effectively SOA style services that business use in integration stories. POWER has a place in that ecosystem given its performance characteristics under load.





« Last Edit: March 23, 2025, 08:14:53 am by icbts »