Page 1 of 1

Req an advice for compression level

Posted: Fri Nov 11, 2005 7:08 pm
by Suchiara
Hello everyone.

Our network decided to link one server that is abroad. We tried to ping it and got the following results:

Code: Select all

Ping statistics for 66.2**.***.***:
    Packets: Sent = 6278, Received = 6231, Lost = 47 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 146ms, Maximum =  1411ms, Average =  298ms
Control-Break
This server will handle an average of about 100-200 users. What compression level would you reccomend to use when linking such server? I mean, what would be optimal and why?

Posted: Fri Nov 11, 2005 8:09 pm
by Syzop
I would suggest just the default compress level (whatever that is.. 6?).

I think like (>)90% of your traffic would be caused by local clients though, that's just my intiution.. I didn't calculate it ;).

Posted: Sat Nov 12, 2005 5:44 pm
by Suchiara
Well, I lauched about 800 clonebots which were doing some activity, and I got such statistics after being 30 mins on my testnet:

Zipstats for link to irc.leaf.tst[@172.16.0.91.39240] (compresslevel 6): decompressed (in): 6701=>237427 (2.8%), compressed (out): 373819=>36695 (9.8%)
End of /STATS report

I still doubt about it, I think maybe it is worth to use 9 (this was with value 6)
:roll:

PS: the link options were used zip + ssl.

Posted: Sat Nov 12, 2005 8:35 pm
by Syzop
FYI, the figure of 2.8% / 9.8% means the original (100%) got compressed down to 2.8%/9.8%. So something like >90% compressed down ;p. As you can see level 6 is just fine.

9 is a bad idea, high cpu and nearly no gain.

I agree the percentages are confusing though, and it has been brought up a couple of times :).

Posted: Sat Nov 12, 2005 9:02 pm
by Suchiara
dammit, really.. tested with level 9 and got only 1.8% vs 8.7% just after 20 min of testnet activity.. I'll sitck with the 6th one 8)