tcpdump mailing list archives

posix_fadvise()


From: Denis Ovsienko <denis () ovsienko info>
Date: Tue, 19 Apr 2016 18:02:32 +0100

Hello list.

As far as documentation goes, some sense may be presumed in libpcap calling posix_fadvise() with POSIX_FADV_SEQUENTIAL. 
This way the OS would be able to adjust the buffers better to read the .pcap file. Does anybody have any practical 
experience with posix_fadvise() to comment if the gain is ever visible with present day hardware and OSes?

-- 
    Denis Ovsienko

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: