Tweaking OS X for cable internet question

Hydroglow

Registered
Ok so I have broadband optimizer installed and I modifyed the script to max it out. But what would happen if I modifyed the maxsockbuf? Like if I went from
sysctl -w kern.ipc.maxsockbuf=524288


to



sysctl -w kern.ipc.maxsockbuf=2147483647


Should I modify it and what doese the maxsockbuf do?






Thanks




edit: I just found out that the max you can go to is 2147483647
 
Other parts of the system depend on that, not just internet stuff. 524288 is 512 KB - that's the standard size for a socket buffer in a *nix OS. I really wouldn't change this value, it's set that way to equal a block in disk size so it only writes as small a block on the disk as it can (if it's writing to disk).

BTW, 2147483647 is 2 GB
 
That sounds like a completely different thing than what you were asking before...

You can view traffic with tcpdump (should be loaded on your system already) - "tcpdump" from a command-line should start capturing from your "first" network interface. You can write this to a text file with "tcpdump > file.txt"

Ethereal would do a better job of decoding (you can install it via Fink). Just run "tethereal" from the command-line, or "tethereal > file.txt" to write traffic info to a text file.

Don't know any way to automatically display this information on your desktop, however. At high rates I'm sure it'd bring your system to a crawl, anyway...
 
I'm pretty positive that's a static image on the background there, that stuff isn't being displayed real-time, btw.
 
Back
Top