stepnw1f
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sat Mar-11-06 01:36 PM
Original message |
Unix Command for Uping Internet Speed |
|
I came across a Unix command line for uping internet speed on Mac OSX. Supposedly, the mac comes with a basic speed range, never taking full advantage of it's capabilities. I've reinstalled my system and now I can't find that same command line anywhere. Any Unix people know of a command line that can up your internet speed on a Mac using OSX?
|
stepnw1f
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sat Mar-11-06 02:17 PM
Response to Original message |
|
add this command line to your terminal and hit return:
sudo sysctl -w net.inet.tcp.recvspace=65536
|
realisticphish
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sat Mar-11-06 03:47 PM
Response to Reply #1 |
|
i avoid typing command lines that i'm not familier with into terminal. WAAAAAY too many ways for someone to fuck up your computer
|
alfredo
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 01:07 PM
Response to Reply #2 |
6. Here's the man page for sysctl |
|
SYSCTL(8) BSD System Manager's Manual SYSCTL(8)
NAME sysctl -- get or set kernel state
SYNOPSIS sysctl <-bn> name ... sysctl <-bn> -w name=value ... sysctl <-bn> -a sysctl <-bn> -A sysctl <-bn> -X
DESCRIPTION The sysctl utility retrieves kernel state and allows processes with appropriate privilege to set kernel state. The state to be retrieved or set is described using a ``Management Information Base'' (``MIB'') style name, described as a dotted set of components.
The following options are available:
-A List all MIB variables including opaque variables (which are nor- mally suppressed). The format and length are printed, as well as a hex dump of the first sixteen bytes of the value.
-a List all the currently available non-opaque values. This option is ignored if one or more variable names are specified on the command line.
-b Force the value of the variable(s) to be output in raw, binary format. No names are printed and no terminating newlines are output. This is mostly useful with a single variable.
-n Show only variable values, not their names. This option is use- ful for setting shell variables. For instance, to save the page- size in variable psize, use:
set psize=`sysctl -n hw.pagesize`
-X Same as -A but prints a hex dump of the entire value instead of just the first few bytes.
-w name=value Used to set values. The MIB name ( name ) followed by an equal sign and the new value ( value ) to be used.
|
MalachiConstant
(368 posts)
Send PM |
Profile |
Ignore
|
Sat Mar-11-06 07:37 PM
Response to Reply #1 |
3. i'm pretty happy with my connection speed right now |
|
does it really make that much of a difference? have you noticed any problems since doing this?
|
stepnw1f
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 11:48 AM
Response to Reply #3 |
4. Pages Appear to Load Faster |
|
And my download speed is much better.
|
MalachiConstant
(368 posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 12:39 PM
Response to Reply #4 |
5. do you know if this process is reversible? |
stepnw1f
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 01:19 PM
Response to Reply #5 |
|
In fact, it resets after a restart. The command line I had before this one, would set the parameter for speed permanently, until you reinstalled your system.
This comand line is not permanent as far as I know. If somebody knows more, I invite them to jump in.
|
alfredo
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 01:07 PM
Response to Reply #1 |
7. What will it do for dialup? |
|
Edited on Sun Mar-12-06 01:15 PM by alfredo
|
stepnw1f
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 01:20 PM
Response to Reply #7 |
9. I Found This Yesterday |
|
Edited on Sun Mar-12-06 01:21 PM by stepnw1f
just be sure to get rid of the "%" variable in the beginning of that line.
I'm not sure if it helps dial-up, sorry.
|
alfredo
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 02:04 PM
Response to Reply #9 |
11. I guess getting broad band is the only way to speed up |
stepnw1f
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Mar-12-06 01:49 PM
Response to Original message |
10. I Have Finaly Found It!! |
|
sudo -s (password) sysctl -w net.inet.tcp.recvspace=65536 sysctl -w net.inet.tcp.sendspace=65536 sysctl -w net.inet.tcp.delayed ack=0 This is it.
Basically, all the first two commands do is bump up the buffer size for TCP (default is half of those number, or 32K). The third basically causes all TCP connections not to wait a moment before acknowledging receipt of data. To set these back to default values, sudo sysctl -w net.inet.tcp.recvspace=32768 sudo sysctl -w net.inet.tcp.sendspace=32768 sudo sysctl -w net.inet.tcp.delayed ack=1 or just reboot...
|
DU
AdBot (1000+ posts) |
Mon May 06th 2024, 06:35 PM
Response to Original message |