RE: AW: Speed up Java on i

Richard Schoen <richard-DiTrGpQEJGItADg8e/3/[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <MN2PR12MB3055D4F7566DA57F48BCB9EFB7F10@MN2PR12MB3055.namprd12.prod.outlook.com>
I haven't seen all the threads on this. 

But here's my thoughts.

Before you bang your head too long on this I would suggest doing a test on a Windows or Linux VM to see how that performs as a benchmark.

You may find this to be much faster. 

Quite honestly it's easy to do and customers today understand that things like high performance document production sometimes belong on a connected machine instead of native. 

And almost every shop I've talked to has VMware in house so it's a relative no brainer.

And with JT400 it's a snap.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard-DiTrGpQEJGItADg8e/3/[email protected]
----------------------------------------------------------------------

message: 1
date: Thu, 3 Dec 2020 19:02:28 +0100
from: "Logic IT: K. Fritz" <[email protected]>
subject: AW: Speed up Java on i

Hi Colin,

Thanks for the hint.
No, i started  5 jvm jobs.
Here it's a dev box, only 1 core.

Karl
-----Urspr?ngliche Nachricht-----
Von: JAVA400-L [mailto:java400-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org] Im Auftrag von Colin Williams
Gesendet: Donnerstag, 3. Dezember 2020 18:57
An: Java Programming on and around the IBM i
Betreff: Re: Speed up Java on i

Are you only running this in 1 jvm?

How many cores does your ibmi have?

I would suggest using parallel streaming. Its pretty easy to do in java and allows you to make use of all cores.

https://www.geeksforgeeks.org/what-is-java-parallel-streams/

Ive never done this on ibmi but it works well on windows, so not sure what it would do to your overall system performance if you have other things running on the box...

Cheers
Colin

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.