List Info

Thread: Tuning: 100mbit faster, gbit slower.




Tuning: 100mbit faster, gbit slower.
user name
2008-03-23 17:21:48
Hey!

I was trying to milk the most out of my 100/100. What I
ended up with was something, to me, quite odd. When I
hadn't done anything I could ftp things from my server
box at 50mb/s and run rtorrent at about 9-10 mb/s at most.
After my "tuning" I can only ftp at a very
"choppy"
30-40mb/s, but rtorrent runs at about 11mb/s.
This is what I did:

kern.ipc.maxsockbuf=16777216
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216

according to
http://dsd
.lbl.gov/TCP-tuning/FreeBSD.html
every other setting there was default
I believe.

I also set these:

net.inet.tcp.recvspace: 262144
net.inet.tcp.sendspace: 262144

dmesg:
http://pastebin.org/24780

Am I just imagining that rtorrent runs faster?
Can't ftp handle high buffers or did I mess
something up? Is there something else I
could do to make it faster? Setting up
polling perhaps?

Cheers,
Daniel Andersson
_______________________________________________
freebsd-performancefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-p
erformance
To unsubscribe, send any mail to
"freebsd-performance-unsubscribefreebsd.org"

Re: Tuning: 100mbit faster, gbit slower.
country flaguser name
Bulgaria
2008-03-24 05:54:21
Daniel Andersson wrote:
> Hey!
>
> I was trying to milk the most out of my 100/100. What
I
> ended up with was something, to me, quite odd. When I
> hadn't done anything I could ftp things from my server
> box at 50mb/s and run rtorrent at about 9-10 mb/s at
most.
> After my "tuning" I can only ftp at a very
"choppy"
> 30-40mb/s, but rtorrent runs at about 11mb/s.
>   
Are you sure the problem is in the network ?
Sounds like the bottleneck is your HDD.
You can run netperf to check this 
> This is what I did:
>
> kern.ipc.maxsockbuf=16777216
> net.inet.tcp.sendbuf_max=16777216
> net.inet.tcp.recvbuf_max=16777216
>
> according to
> http://dsd
.lbl.gov/TCP-tuning/FreeBSD.html
> every other setting there was default
> I believe.
>
> I also set these:
>
> net.inet.tcp.recvspace: 262144
> net.inet.tcp.sendspace: 262144
>
> dmesg:
> http://pastebin.org/24780
>
> Am I just imagining that rtorrent runs faster?
> Can't ftp handle high buffers or did I mess
> something up? Is there something else I
> could do to make it faster? Setting up
> polling perhaps?
>
> Cheers,
> Daniel Andersson
> _______________________________________________
> freebsd-performancefreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-p
erformance
> To unsubscribe, send any mail to
"freebsd-performance-unsubscribefreebsd.org"
>   

_______________________________________________
freebsd-performancefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-p
erformance
To unsubscribe, send any mail to
"freebsd-performance-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )