Thanks for your suggestion, Marcus. 

    On Tuesday, 7 September 2021, 14:21:19 BST, Marcus D. Leech 
<[email protected]> wrote:  
 
  On 2021-09-07 8:12 a.m., zhou wrote:
  
 
 Hi Marcus,
        
  Thanks for your comments on my other USRP questions. I have another issue 
with N321 USRP. Following the tuning tips in 
https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks , I have set 
wmem_max, wmem_default, rmem_max, rmem_default to 33554432 in host (Ubuntu):
       sudo sysctl -w net.core.wmem_max=33554432
   sudo sysctl -w net.core.rmem_max=33554432
   sudo sysctl -w net.core.wmem_default=33554432
   sudo sysctl -w net.core.rmem_default=33554432   I have made the 
configuration permanent by adding these lines in /etc/sysctl.conf, such that 
they won't get lost after host reboot.  
  I want to do the same in N321 but couldn't because there is no sysctl.conf in 
it. I can still configure these parameters from terminal, but it won't survive 
a reboot. The Linux in N321 is tiny. How can I make the configuration 
permanently in it? 
  Any comment from the community will be appreciated. 
  Thanks, Hongwei  
 
      I don't have an N321 myself, but you will probably find that there's an 
/etc/sysctl.conf.d directory, and you can create a sysctl.conf file there.
 
 But unless you're using the N321 like it's an ordinary host, talking to an 
*external* USRP, you shouldn't need to adjust these parameters.
 
 When you're streaming samples into/out-of the N321, they don't go through the 
CPU portion of the Zynq at all, so these parameters aren't relevant.


 
   
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to