Hm, I am not the biggest expert, but I can't recognize big problems. Perhaps the disk performance is a bit different, but thats all.
Have you played a bit with the memory settings?
And what databases are you using?
Perhaps it would be interesting to look inside the tomcat especially for garbage collection. Do you know the jkmanager/jmx/jvm/jconsole-things?
Cheers
Stefan
-----Ursprüngliche Nachricht-----
Von: ForBode [mailto:cabaal@anonymised.com]
Gesendet: Fr 25.01.2013 20:16
An: geoserver-users@lists.sourceforge.net
Betreff: [bulk]: Re: [Geoserver-users] Same Configuration, Different computer,very slow
Sure, I appreaciate any help or feedback.
I'll be more specific. I switched to all 32 bit so I could make use of JAI and ImageIO. Computers are as follows:
Computer 1
Hardware: Macbook Pro (latest)
HDD: SSD
OS : Windows Server 2008 R2 64 bit Enterprise
VM : Yes, Parallels
Memory : 3 gb
Tomcat : 32 bit 7.0.34
JVM : 32 bit 1.6.0_38-b05
JVM Mem Set : -Xms256m -Xmx1048m -XX:+UseParallelOldGC -XX:NewRatio=2 -XX:MaxPermSize=256m -XX:+AggressiveOpts
Tomcat Mem Set: --JvmMs=256 --JvmMx=1048
JAI : Enabled
ImageIO: Enabled
GeoCache: Enabled for gridset 26915 (Same EPSG as my layers)
Status: Runs good. Returns images in an acceptable amount of time. Does not crash. If I stress the map tiling it takes longer, but is still fast enough.
Computer 2
Hardware: Linux Server
HDD: 1.8tb raid 5 disk
OS : Windows Server 2008 R2 64 bit Enterprise
VM : Yes, ESXI Vmware
Processor: Intel Xeon 2.67 ghz with 3 processors allocated to VM
Memory : 6 gb allocated to VM
Tomcat : 32 bit 7.0.34
JVM : 32 bit 1.6.0_38-b05
JVM Mem Set : -Xms256m -Xmx1048m -XX:+UseParallelOldGC -XX:NewRatio=2 -XX:MaxPermSize=256m -XX:+AggressiveOpts
Tomcat Mem Set: --JvmMs=256 --JvmMx=1048
JAI : Enabled
ImageIO: Enabled
GeoCache: Enabled for gridset 26915 (Same EPSG as my layers)
Status: Runs good. Returns images in an acceptable amount of time. Does not crash when I stress the maps. It just takes a lot longer to deal with tiles.
Computer 3
Hardware: Dell Server
Processor: Intel Xeon 2.4 ghz with 2 processors
HDD: 7200 RPM single SATA disk
OS : Windows Server 2008 R2 64 bit Standard
VM : None
Memory : 16 gb
Tomcat : 32 bit 7.0.34
JVM : 32 bit 1.6.0_38-b05
JVM Mem Set : -Xms256m -Xmx1048m -XX:+UseParallelOldGC -XX:NewRatio=2 -XX:MaxPermSize=256m -XX:+AggressiveOpts
Tomcat Mem Set: --JvmMs=256 --JvmMx=1048
JAI : Enabled
ImageIO: Enabled
GeoCache: Enabled for gridset 26915 (Same EPSG as my layers)
Status: Runs good IF I don't zoom to fast or pan the map to fast. The moment I do Tomcat crashes and the service stops. I always see a spike in disk usage, but larger than the other computers.
Notes on All Three Computers
All three see a major CPU drain when loading maps. A single user will spike the CPU to 90%. Each computer handles that differently, with Computer 2 being the best (recovers fast).
I am still learning GeoWebCache and believe I have a thing or two wrong. I need to make sure all my resolutions match the gridsets.
If you like I can send get you videos of the performance monitoring. I may even be able to allow you to log into Computer 2. Computer 3, however, is at a restricted site.
Other odd behavior
I have two GeoTiffs.
GeoTiff 1 - 600 mb. EPSG:26915. Loads fine. Cache's fine. I can see the whole map in one screen very fast. Zooming works great. Disk IO is high, but CPU and network is lower. Since this layer is cached it makes sense that disk IO would be higher.
GeoTiff 2 - 500 mb. EPSG: 26915. Loads fine. Does NOT cache for some reason. When zooming in close it tiles ok, but trying to see the whole map spikes the CPU and network for long periods, but not the disk (compared to CPU or network). Since this layer isn't cached it makes sense that there is not as much disk io (From what Andrea said).
I think that will help. Please, any advice is appreciated.
________________________________
Brad A. Bode
Principal
Software Systems
Foundry Engineering
________________________________
From: Stefan_E [via OSGeo.org] <ml-node+s1560n5029767h90@anonymised.com>
To: ForBode <cabaal@anonymised.com>
Sent: Thursday, January 24, 2013 11:06 PM
Subject: Re: Same Configuration, Different computer, very slow
Hi ForBode,
I would like to ask you for some details in your posting:
When you descripe your computer configuration, I see some differences:
Computer 1 has Win Server 2008 R2 64 Bit, but Computer 2 no 64 Bit?
How much memory has computer 1?
Which Tomcat version is running on Computer 2?
As already described in earlier postings bad performance often depends on JVM memory-settings. Try to set -Xmx parameter when starting your tomcat as described in GeoServer-documentation.
Can you tell us something about system activities/usage especially the size of the used memory and swap file?
I think, there are two main directions where I would search:
1. Memory-settings of the JVM
2. Swapping activities/memory usage
Cheers
Stefan
________________________________
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029767.html
To unsubscribe from Same Configuration, Different computer, very slow, click here.
NAML
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029968.html
Sent from the GeoServer - User mailing list archive at Nabble.com.