Set SO_TCP_NODELAY (disabling the Nagle Algorithm)

2018-03-30 Thread Naruto Nguyen
Hello everyone, As I know we have a socket option SO_TCP_NODELAY to disable Nagle Algorithm, and I found it is implemented in TCP/IP stack at https://elixir.bootlin.com/linux/v4.4.90/source/net/ipv4/tcp.c#L2401 . However, I do not know where the source code the Nagle Algorithm is implemented in ke

High IO load cause kswapd hang and unresponsive system

2018-11-15 Thread Naruto Nguyen
Hi everyone, Recently when I upgrade my kernel from 3.12.61 to kernel 4.4.74, I find my system sometimes is very slow and unresponsive When my system is under a heavy IO load, I see the node start to respond very slow, the IO wait time keeps very high, and the node starts unresponsive. I try to d

Re: High IO load cause kswapd hang and unresponsive system

2018-11-17 Thread Naruto Nguyen
if kernel 4.4.163 has any changes to fix the issue? Thanks, Naruto On Friday, 16 November 2018, Mulyadi Santosa wrote: > > > On Thu, Nov 15, 2018 at 11:57 PM Naruto Nguyen > wrote: > >> Hi everyone, >> >> Recently when I upgrade my kernel from 3.12.61 to ke

How to detect slab memory leak

2018-12-15 Thread Naruto Nguyen
Hi everyone, When using slabtop to display the cache size growing, I see that kmalloc-1024 and kmalloc-256 are increasing about 200MB after 1 hour. Is there any way to detect which kernel components cause this slab increase? Thanks a lot, Brs, Naruto _

Re: How to detect slab memory leak

2018-12-19 Thread Naruto Nguyen
gt; On Tue, Dec 18, 2018 at 1:14 PM Mulyadi Santosa > wrote: > > > > > > > > On Sun, Dec 16, 2018 at 1:25 PM Naruto Nguyen > > wrote: > >> > >> Hi everyone, > >> > >> When using slabtop to display the cache size growing, I se

How to debug high sysload in 2,3 second

2023-05-15 Thread Naruto Nguyen
Hi everyone, My system during idle sometimes has high sysload in 2,3 seconds (around 70% sysload) and then come back to normal after that. I see it happen in some conditions and try to use top commands to debug and see one of processes in my system consume CPU. I would like to investigate more wh

Small MSS in vmxnet3

2023-09-22 Thread Naruto Nguyen
Hello everyone, Recently I found that packets sent from vmxnet3 driver on guest have MSS value set to very small size, some 10 bytes, some 25 bytes MSS. The vmxnet3 NIC enables TSO. Could you let me know any possible reason that the packets are fragmented with very small MSS.and is it normal?. Any

Re: Small MSS in vmxnet3

2023-09-25 Thread Naruto Nguyen
Hello, could you please let me know any ideas? Thank you, Kind regards, Bao On Sat, 23 Sept 2023 at 12:12, Naruto Nguyen wrote: > > Hello everyone, > > Recently I found that packets sent from vmxnet3 driver on guest have > MSS value set to very small size, some 10 bytes, so