Kjetil Kjernsmo wrote:
About gzipped output: I have a fat pipe to my machine, but a slow CPU, is still gzipping something that surely should be enabled, or is this a case that would need further investigations?It needs further investigation. If most of what you do is dynamic (ie there is very little caching or non at all) and you are more CPU-bound than bandwidth-bound then gzip could indeed work against you.
That sounds like a simple answer, which of course means it's incomplete. You may have lots of bandwidth but the guy on the other end might not, meaning that you're spending some time sending him your data despite your own capacities. This in turn means one of your processes is using resources longer than it would if the file was smaller, meaning more processes, possibly leading to more CPU.
So the real answer is testing. Monitor your performance over a day with both settings and you should have a much better idea. I must say I've found that gzip usually helps, the only contrary reports I've heard were for servers under high dynamic load.
Tip: kill your cache when switching between gzip and non-gzip, I've had trouble on occasion with stale caches.
--
Robin Berjon <[EMAIL PROTECTED]>
Research Engineer, Expway http://expway.fr/
7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
