Closed geerlingguy closed 9 years ago
It looks like no. The extra (small, but significant) load on the CPU seems to take away from the Pi's ability to send bits over the LAN. With gzip enabled, throughput went down from 1.5k req/s / 10 MB/s to about 1.3k req/s / 8.6 MB/s (averaged over three test runs).
Individual page response times went up a couple ms as well.
I've re-enabled gzip compression, as it seems like it might offer a little benefit at least. I'm now maxing out the onboard LAN's throughput, so further testing will need to be done with a GigE adapter. See: https://github.com/geerlingguy/raspberry-pi-dramble/issues/13#issuecomment-76211640
Currently my configurations don't use gzip, and I've been pushing through around 1500 cached req/s, or 10MB/sec in bandwidth. I wonder if we can eke out a little more than that with gzip enabled.