Is the full output from java -version identical?
So the servers have the same hardware, the same services running, the same configuration, etc?
How do the servers access the code that needs to be built?
John Matthews wrote:Thanks for the replies.
I'm afraid I don't know; they 'feel' the same
Sorry, not sure what you mean.
As I said, the Oracle JDK may give you better performance across the board.
I've also used benchmark programs like DeCapo to look at (close to) real-world performance of my servers.
If you aren't using source control, it's possible that you have file variations between your systems that will be difficult to identify.
John Matthews wrote:That is, if I'm working on one server and make a change to a file, I see that change immediately in (what appears to be) the same file at the same filesystem location on the other server.
Stephan van Hulst wrote:
John Matthews wrote:That is, if I'm working on one server and make a change to a file, I see that change immediately in (what appears to be) the same file at the same filesystem location on the other server.
It matters though. A file system is just an abstraction. Even if both servers "see" the same thing, the physical location may influence compilation times.
John Matthews wrote:I would expect slow compilation with low CPU usage, not high.
John Matthews wrote:the >7 second build I recorded earlier had a CPU usage of 1000%.
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
Tim Holloway wrote:For that much CPU overhead, I'd check the paging rates. Virtual swaps eat a surprising amount of CPU. Use vmstat to monitor.
John Matthews wrote:...and sorry, how should I use vmstat?
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
John Matthews wrote:So in the long build vmstat shows that the 'in' value shoots up
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
Tim Holloway wrote:You seem to have "bursty" events, possibly about every 30 seconds
It's possible that there's some other process that kicks in at intervals and eats the machine, leaving little for the compiler process.
A crude way of checking this would be to run "top", although you might have to adjust its sampling interval to get a good idea.
John Matthews wrote:But they all had relatively low CPU% figures
John Matthews wrote:
Tim Holloway wrote:You seem to have "bursty" events, possibly about every 30 seconds
Sorry Tim - can you explain where you get that from?
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
Tim Holloway wrote:
John Matthews wrote:
Tim Holloway wrote:You seem to have "bursty" events, possibly about every 30 seconds
Sorry Tim - can you explain where you get that from?
From looking at CPU usage down the table. It shows periods of low usage interrupted by periods of higher usage.
The "top" system utility can help pin down what's causing that.
Good heavens! What have you done! Here, try to fix it with this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|