Greetings,
The DNS issues is a potential issue. Java does a ton of access using
TCP/IP. If its on the same box, that request may never leave the TCP
stack, so when things are working well, you many never be aware. The
issue with a BAD DNS, is you end up with a pile of time outs. The TCP
request has to wait for that bad DNS to respond. One time out would likely
never be noticed, but if you have 40 requests (or more) yea you can see a
major slow down for NO apparent reason. I have hit the many times at the
COMMON conference. Years ago, we shipped a tool to help you identify that
you have a problem. Its part of ARE. The tool is shipped with the
operating system, so its available to anyone to use.
Go into qshell - Type QSH from the IBM i command line, then enter the
areVerify command with the network option.
/QIBM/ProdData/OS/OSGi/templates/bin/areVerify.sh -network
Review the results to see if you have someone poorly configured with your
Network settings.
Tim
Tim Rowe, timmr@xxxxxxxxxx
Business Architect Application Development & Systems Management for IBM i
IBM i Development Lab, Rochester, MN
(507) 253-6191 (Tie) 553-6191
http://www-03.ibm.com/systems/power/software/i/are/index.html
----- Original message -----
From: "Mark Murphy/STAR BASE Consulting Inc." <mmurphy@xxxxxxxxxxxxxxx>
Sent by: "JAVA400-L" <java400-l-bounces@xxxxxxxxxxxx>
To: Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxx>
Cc:
Subject: Re: java performance in batch of a packaged tool
Date: Fri, Dec 30, 2016 1:09 PM
Yea, I've seen the DNS lookup issue as well. Happens when the JVM is
starting up. It is more than a couple seconds though.
Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx
-----David Gibbs <david@xxxxxxxxxxxx> wrote: -----
To: Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxx>
From: David Gibbs <david@xxxxxxxxxxxx>
Date: 12/30/2016 12:32PM
Subject: Re: java performance in batch of a packaged tool
On 12/29/16 4:15 PM, D*B wrote:
> ... some people are not knowing, what they are talking about:
> couple of seconds, that is neither the java version (32 or 64 bit),
nor
> IPV6, nor DNS possibilities (whatever this shoukld be) and you don't
> need any "commercial stuff", that's startup of the JVM - and this
could
> be very easily avoided, only using open source stuff, proven in
hundreds
> of installations...
Um, yeah, it could very well be a DNS lookup issue. I've encountered
this before. Surprised me after figuring out what the problem was. I
had to write many test programs to narrow the issue down.
I'm not saying that the OP's issue is definitely a DNS lookup issue ...
but it could be or at least it could be contributing to the performance
problem.
david
--
David Gibbs
midrange.com
IBM i on Power Systems: For when you can't afford to be out of business!
I'm riding a metric century (100 km / 65 miles) in the American Diabetes
Association's Tour de Cure to raise money for diabetes research,
education, advocacy, and awareness. You can make a tax deductible
donation to my ride by visiting [1]
http://lsteml.diabetessucks.net. My
goal is $6000 but any amount is appreciated.
See where I get my donations from ... visit
[2]
http://lsteml.diabetessucks.net/map for an interactive map (it's a
geeky
thing).
I may have diabetes, but diabetes doesn't have me!
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [3]
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [4]
http://archive.midrange.com/java400-l.
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [5]
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [6]
http://archive.midrange.com/java400-l.
References
Visible links
1.
http://lsteml.diabetessucks.net/
2.
http://lsteml.diabetessucks.net/map
3.
http://lists.midrange.com/mailman/listinfo/java400-l
4.
http://archive.midrange.com/java400-l
5.
http://lists.midrange.com/mailman/listinfo/java400-l
6.
http://archive.midrange.com/java400-l
As an Amazon Associate we earn from qualifying purchases.