question: tcp rmem/wmem

16 views
Skip to first unread message

diptanshu singh

unread,
Aug 8, 2022, 5:14:45 AM8/8/22
to NeST users
Hi,

First of all, this is great work and i have started using this for various simulations. I have a question:  Assuming reno as congestion avoidance algo with 20ms RTT,  I would need to tweak the net.ipv4.tcp_rmem/tcp_wmem to make sure the snd/rcv buffers are not a bottleneck. In my example, my BDP for a 10G link * 20ms = 25Mbytes.

My question is, how is this being currently handled? Is this something a user needs to set, and if so, how can I do that?

Thanks
Dip 

Shanthanu Rai

unread,
Aug 8, 2022, 6:58:12 AM8/8/22
to diptanshu singh, NeST users
Hey Diptanshu, thank you for showing your interest in NeST! Please find my reply inline below:

 My question is, how is this being currently handled? Is this something a user needs to set, and if so, how can I do that?
 
There is an API in NeST to configure TCP parameters in node. 

For e.g., if you want to update net.ipv4.tcp_wmem in a `node`, the API is

node = Node("node")
node.configure_tcp_param("wmem", "<value>") # Replace <value> with appropriate value


Thanks,
Shanthanu

--
You received this message because you are subscribed to the Google Groups "NeST users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nest-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nest-users/c01eecd2-8667-4420-80e4-ecbc310bc727n%40googlegroups.com.


--
Regards,
Shanthanu S Rai

dip

unread,
Aug 9, 2022, 1:22:32 PM8/9/22
to Shanthanu Rai, NeST users
perfect thanks. I missed that in my search.
Reply all
Reply to author
Forward
0 new messages