[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Faster network?



On Fri, 2006-03-03 at 10:34 +0100, shrek-m gmx de wrote:
> On 03.03.2006 09:12, Mike Chambers wrote:
> 
> >echo 256960 >> /proc/sys/net/core/rmem_default
> >echo 256960 >> /proc/sys/net/core/rmem_max
> >echo 256960 >> /proc/sys/net/core/wmem_default
> >echo 256960 >> /proc/sys/net/core/wmem_max
> >echo 0 >> /proc/sys/net/ipv4/tcp_timestamps
> >echo 1 >> /proc/sys/net/ipv4/tcp_sack
> >echo 1 >> /proc/sys/net/ipv4/tcp_window_scaling
> >
> 
> why  ">>"   ?
> imho this should be  ">"
> 
> 
For me it works with either syntax, but AFAIK the > is the best (and
most universal) choice

# echo 0 > /proc/sys/net/ipv4/ip_forward
# cat /proc/sys/net/ipv4/ip_forward
0
# echo 1 > /proc/sys/net/ipv4/ip_forward
# cat /proc/sys/net/ipv4/ip_forward
1
# echo 0 >> /proc/sys/net/ipv4/ip_forward
# cat /proc/sys/net/ipv4/ip_forward
0
# echo 1 >> /proc/sys/net/ipv4/ip_forward
# cat /proc/sys/net/ipv4/ip_forward
1




> oops,
> 
> # echo 0 > /proc/sys/net/ipv4/ip_forward
> # cat /proc/sys/net/ipv4/ip_forward
> 0
> 
> 
> # echo 1 >> /proc/sys/net/ipv4/ip_forward
> # cat /proc/sys/net/ipv4/ip_forward
> 1
> 
> # echo 1 >> /proc/sys/net/ipv4/ip_forward
> # cat /proc/sys/net/ipv4/ip_forward
> 1
> 
> -- 
> shrek-m
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]