Steve -
Your CPU spends 100% of its time doing SOMETHING. You seem to be focusing on
high CPU utilization by a process as being a bad thing, and in many case it is
instead a very good thing. Many MapServer applications are I/O bound, waiting
for disk seeks, etc. Since your CPU is not waiting for I/O to any significant
degree, 100% CPU utilization means you're not suffering from that I/O
limitation.
If your machine is not doing anything else, seeing 100% CPU utilization is
good. If you are testing with 10 other applications in active use, having one
of them consume 100% of the CPU is bad. But I think you may need to do more
sophisticated load testing in order to evaluate your situation; adding more RAM
is most likely to be helpful in a multi-user, heavily-loaded situation. It
might not help much, however, and you can only tell by doing multi-user (and in
your case, multi-application) simulated load tests.
- Ed
Ed McNierney
205 Indian Hill Road
Groton, MA 01450
[EMAIL PROTECTED]
+1 (978) 761-0049
On 9/7/08 4:32 PM, "Steve White" <[EMAIL PROTECTED]> wrote:
Ed -
The reason I feel edgy is because I have other hosted .NET applications on the
same box.
I discovered from my tests that another process (CSRSS.exe) is also using
excessive CPU (about 40%), so it's not all MapServer, so I'm going to set up
some auto tests scripts to find out what kind of a ceiling I have and see if I
can pull down CSRSS.exe a bit.
Cheers,
Steve
From: Ed McNierney [mailto:[EMAIL PROTECTED]
Sent: 07 September 2008 13:48
To: Steve White; Paul Ramsey
Cc: [email protected]
Subject: Re: [mapserver-users] High CPU
Steve -
Would you prefer your CPU was sitting idle? Keeping the CPU busy is a good
thing, isn't it? It means your network, disk, and other resources are not
preventing your CPU from working at full capacity.
What makes you feel that running your CPU at 100% capacity is a bad thing?
- Ed
Ed McNierney
205 Indian Hill Road
Groton, MA 01450
[EMAIL PROTECTED]
+1 (978) 761-0049
On 9/7/08 4:20 AM, "Steve White" <[EMAIL PROTECTED]> wrote:
The problem is that CPU shoots to 100% while tiles are being generated from
a remote WMS call.
The shp2img dump was taken directly on the server but the problem occurs
when I send remote WMS requests to the server.
I'm starting to think that 640MB RAM isn't enough and I should probably bump
it up to 1GB.
-----Original Message-----
From: Paul Ramsey [mailto:[EMAIL PROTECTED]
Sent: 07 September 2008 06:07
To: Steve White
Cc: [email protected]
Subject: Re: [mapserver-users] High CPU
It took 0.3s to run to completion, what's the problem precisely?
P.
On Sat, Sep 6, 2008 at 1:35 PM, Steve White
<[EMAIL PROTECTED]> wrote:
> Thanks Jeff -
>
>
>
> - I upgraded to MS4w 2.2.9
>
> - I ran shptree.exe and produced the index file
>
> - My results of shp2img.exe are below
>
> - I don't think any projections-on-the-fly are occurring
>
>
>
> Shp2img dump:
>
>
>
> msDrawMap(): Layer 0 (OA), 0.015s
>
> msDrawMap(): Drawing Label Cache, 0.000s
>
> msDrawMap() total time: 0.015s
>
> SaveImage() total time: 0.297s
>
> msFreeMap(): freeing map at 0144B498.
>
>
>
> I'm still getting very high CPU usage with just one active session, so
> there's no way I can go into production till this is resolved.
>
>
>
> Any other things I can look at?
>
>
>
> Cheers,
>
>
>
> Steve
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users