AW: Speed up Java on i
"Logic IT: K. Fritz" <[email protected]>
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <[email protected]> |
Alan, UDFS: The run time is similar as i would write it to the IFS. I think it's the Java program, never checked that. Karl -----Ursprüngliche Nachricht----- Von: JAVA400-L [mailto:[email protected]] Im Auftrag von Alan Campin Gesendet: Donnerstag, 3. Dezember 2020 16:34 An: Java Programming on and around the IBM i Betreff: Re: Speed up Java on i If the writes to the IFS are of a temporary nature, one solution is to create a Temporary User Defined File System (UDF). When you create a Temporary UDF, the writes are to memory, not disk. The UDF is mounted and exists until the next IPL so you need to recreate it when you IPL. To any process, it looks just like a normal IFS folder but writes are to memory. Look for "ibm i temporary user defined file system" for information on how to create. IBM Magazine also had a good article on creating and using them also. On Thu, Dec 3, 2020 at 7:20 AM Logic IT: K. Fritz <[email protected]> wrote: > I think, i got the solution by prestarting listen serverjobs and working > with a data que. > This reduces the runtime by factor 3. It's now similar like a common server > box, maybe better - depending of the prestarted jobs. > May a bottleneck, writing to the IFS. Could be prevented by SSD drives, but > I don't know. > > Note: > It's special to generate such a huge amount of jpg's and removing them also > - only by a lack of non-overlay QR codes with images. > Means, you can print a QR-Code and a try to overlay it with a pic - the pic > will always remain in the background and will be overwritten with the > QR-Code. > (and I haven't even talked about colored QR codes yet) > > Karl > -----Ursprüngliche Nachricht----- > Von: JAVA400-L [mailto:[email protected]] Im Auftrag > von > D*B > Gesendet: Montag, 30. November 2020 08:41 > An: [email protected] > Betreff: AW: Speed up Java on i > > <Karl> > So I've wrote a small ZXING Java program and a colleague a DataQ server > program to prevent multiple starts of the JVM. > > But it's still too slow! For 1000 QR Codes needs my i9 3 Min and the > customer talks about 2 Million documents with a QR-Code. > </Karl> > > I remember a similar discussion in a german forum and by phone... > > What is the exact requirement? > 2 million should take how long? > > D*B > > -- > 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: [email protected] > 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 > > -- > 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: [email protected] > 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 > -- 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: [email protected] 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 -- 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: [email protected] 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