[mapserver-users] MapServer webgis used too little capacity bandwidth
Alphatran
bicphuongonline at yahoo.com
Fri Aug 7 08:43:09 PDT 2009
Andy Colson wrote:
>
>
> First, I think we need to find the bottleneck.
>
> a) If there is only one client, requesting one map, then you will not
> have enough data going over the line to use 200Mbps.
>
> b) If you have lots of clients, all requesting lots of maps, then you'll
> have enough data going over the line to use 200Mbps.
>
> Assuming b is true, then we need to see if you are cpu bound or io
> bound. On you linux box watch "vmstat 5" for a while (you could even
> post the results if you want).
>
> The last column "wa" is %cpu wait time for the hard drve. If that's
> high then you're io bound.
>
> Next column in is "id", or %cpu idle time. If that's near zero then you
> are cpu bound.
>
> -Andy
>
>
Thanks Andy,
I have just tested with 2 clients. There is one map with many layers. These
lines are result of "vmstat 5" command, please help me!
[root at gis ~]# vmstat 5
procs -----------memory---------- ---swap-- -----io---- --system--
-----cpu------
r b swpd free buff cache si so bi bo in cs us sy id
wa st
0 0 31368 14268 11100 1450188 1 2 428 46 53 66 2 0 96
2 0
0 0 31368 14396 11108 1450188 0 0 0 17 184 197 0 0 100
0 0
0 0 31368 14388 11116 1450188 0 0 0 22 167 197 0 0 100
0 0
0 0 31368 14468 11124 1450188 0 0 0 12 182 202 0 0 100
0 0
0 0 31368 14468 11124 1450188 0 0 0 20 165 196 0 0 100
0 0
0 0 31368 14556 11132 1450208 0 0 2 32 178 211 0 0 100
0 0
0 0 31368 14548 11140 1450208 0 0 0 18 199 242 0 0 100
0 0
0 0 31368 14628 11148 1450208 0 0 0 35 199 249 0 0 99
0 0
0 1 31368 14620 11184 1450180 0 0 14 49 185 224 0 0 100
0 0
0 0 31360 13172 11224 1451468 2 0 247 30 242 250 4 0 94
2 0
0 0 31360 13116 11232 1451460 0 0 10 23 235 200 0 0 100
0 0
0 0 31360 13056 11232 1451668 0 0 13 52 219 214 4 0 96
0 0
0 0 31360 10640 11240 1451708 0 0 19 18 245 292 0 0 100
0 0
0 0 31360 12480 11248 1449324 0 0 26 63 259 304 0 0 100
0 0
0 0 31360 12424 11256 1449468 0 0 29 50 235 214 0 0 100
0 0
0 0 31360 12424 11264 1449508 0 0 2 57 209 207 0 0 100
0 0
0 0 31360 13096 11272 1446980 0 0 3 61 281 378 0 1 99
0 0
0 0 31360 26100 11380 1433788 0 0 71 75 371 376 4 1 93
1 0
1 0 31360 26900 11396 1433952 0 0 26 88 346 304 4 1 94
1 0
0 0 31360 26160 11420 1434068 0 0 32 78 422 398 5 2 92
1 0
0 0 31360 25572 11432 1434204 0 0 22 106 374 331 5 1 93
1 0
0 0 31360 24916 11444 1434240 0 0 3 67 184 249 0 0 100
0 0
0 0 31360 24984 11452 1434252 0 0 2 54 197 231 0 0 100
0 0
0 0 31360 28252 11460 1434304 0 0 10 76 226 250 0 1 98
0 0
0 0 31360 26764 11468 1434320 0 0 6 46 213 257 4 1 95
0 0
--
View this message in context: http://n2.nabble.com/MapServer-webgis-used-too-little-capacity-bandwidth-tp3404699p3405085.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list