2009-06-04 08:41:06 how test/change udp socket internal buffer in uCLinux (BF37)
Adam W (POLAND)
Message: 75210
I want to check and probably change internal socket buffer inuCLinux ?
How can I do that ?
thanks
QuoteReplyEditDelete
2009-06-04 12:34:19 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Mike Frysinger (UNITED STATES)
Message: 75217
what exactly are you talking about ?
QuoteReplyEditDelete
2009-06-04 15:42:38 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Adam W (POLAND)
Message: 75218
I mean internal buffer that Linux allocate for udp received packets.
I found command like that: sysctl -w net.core.rmem_max
but it doesnt work in uCLinux.
QuoteReplyEditDelete
2009-06-04 15:43:45 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Adam W (POLAND)
Message: 75219
correct: sysctl -w net.core.rmem_max=100000
doesnt work
QuoteReplyEditDelete
2009-06-04 16:02:17 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Mike Frysinger (UNITED STATES)
Message: 75220
you need to provide details when you say something "doesnt work". what *exactly* doesnt work ?
setting the net/core/rmem_max field works just fine for me on the default builds.
QuoteReplyEditDelete
2009-06-10 05:06:20 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Adam W (POLAND)
Message: 75447
sorry for latency. "Doesnt work" means that command sysctl -w net.core.rmem_max=8388608 answers:
sysctl: not found
QuoteReplyEditDelete
2009-06-10 05:18:39 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Mike Frysinger (UNITED STATES)
Message: 75448
if you want to use the sysctl program, then you must enable it in your user/vendor configuration settings
QuoteReplyEditDelete
2009-06-10 06:13:14 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Adam W (POLAND)
Message: 75451
Thanks, but I will ask silly question, but... how to do that ?
(I am newby with linux...)
QuoteReplyEditDelete
2009-06-10 07:45:22 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Adam W (POLAND)
Message: 75455
I changed size of this buffer manually by rewritting file /proc/sys/net//core/rwmem_max.
thanks
QuoteReplyEditDelete
2009-06-10 14:12:16 Re: how test/change udp socket internal buffer in uCLinux (BF37)
Mike Frysinger (UNITED STATES)
Message: 75471
it is like any other application in your menuconfiguration. enter the menu system like normal, locate the program in the list (use the search function, or use the simple one integrated into busybox), enable it, and then rebuild everything.