views:

563

answers:

4

We recently switched some of our sites from deflate to gzip and noticed a significant increase in cpu load on our servers.

A: 

Sounds like you answered your own question. :)

Glitch
+4  A: 

gzip is, basically, deflate with some additional headers. So there should not be a significant performance hit. Now, maybe your deflate tool is just more efficient than your gzip tool. ¿Are you using the same tool for both compressions or two different ones?

Gorpik
A: 

Well, gzip uses deflate, so I'm not sure you should see any noticeable difference.

Lasse V. Karlsen
that's what I thought, that's why I'm surprised
kitsune
+4  A: 

Is it possible that you are experiencing cache miss? That is, compressed content is sometimes cached compressed but switching compression schemes would (or at least should) invalidate that cache causing dramatically increased cpu utilization. Did you try switching it back?

Hafthor