RE: [PATCH] net/pcap: reduce time for stopping device

2022-09-01 Thread Zhou, YidingX
Hi, Ferruh > > >>> The pcap file will be synchronized to the disk when stopping the device. > > >>> It takes a long time if the file is large that would cause the > > >>> 'detach sync request' timeout when the device is closed under > > >>> multi-process scenario. > > >>> > > >>> This commit fixes

Re: [PATCH] net/pcap: reduce time for stopping device

2022-08-31 Thread Stephen Hemminger
On Mon, 29 Aug 2022 11:50:29 + "Zhou, YidingX" wrote: > I draw a diagram to describe it more clearly > > fwrite fclose/fflush > fclose/fdatasync > ->| libc buffer |> |disk cache in RA

RE: [PATCH] net/pcap: reduce time for stopping device

2022-08-29 Thread Zhou, YidingX
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, August 25, 2022 8:22 PM > To: Zhou, YidingX ; dev@dpdk.org > Cc: Zhang, Qi Z ; sta...@dpdk.org > Subject: Re: [PATCH] net/pcap: reduce time for stopping device > > On 8/25/2022 12:17

Re: [PATCH] net/pcap: reduce time for stopping device

2022-08-25 Thread Ferruh Yigit
On 8/25/2022 12:17 PM, Zhou, YidingX wrote: -Original Message- From: Ferruh Yigit Sent: Thursday, August 25, 2022 6:09 PM To: Zhou, YidingX ; dev@dpdk.org Cc: Zhang, Qi Z ; sta...@dpdk.org Subject: Re: [PATCH] net/pcap: reduce time for stopping device On 8/25/2022 8:20 AM, Yiding

RE: [PATCH] net/pcap: reduce time for stopping device

2022-08-25 Thread Zhou, YidingX
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, August 25, 2022 6:09 PM > To: Zhou, YidingX ; dev@dpdk.org > Cc: Zhang, Qi Z ; sta...@dpdk.org > Subject: Re: [PATCH] net/pcap: reduce time for stopping device > > On 8/25/2022 8:20 AM, Yiding Zhou

Re: [PATCH] net/pcap: reduce time for stopping device

2022-08-25 Thread Ferruh Yigit
On 8/25/2022 8:20 AM, Yiding Zhou wrote: The pcap file will be synchronized to the disk when stopping the device. It takes a long time if the file is large that would cause the 'detach sync request' timeout when the device is closed under multi-process scenario. This commit fixes the issue by pe

[PATCH] net/pcap: reduce time for stopping device

2022-08-25 Thread Yiding Zhou
The pcap file will be synchronized to the disk when stopping the device. It takes a long time if the file is large that would cause the 'detach sync request' timeout when the device is closed under multi-process scenario. This commit fixes the issue by performing synchronization in Tx path Fixes:

[PATCH] net/pcap: reduce time for stopping device

2022-08-24 Thread Yiding Zhou
The pcap file will be synchronized to the disk when stopping the device. It takes a long time if the file is large that would cause the 'detach sync request' timeout when the device is closed under multi-process scenario. This commit fixes the issue by performing synchronization in Tx path Fixes: