Wireshark-commits: [Wireshark-commits] master a551116: Dumpcap: Set a bigger IO buffer (64KiB).
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 10 Mar 2019 12:35:01 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a55111610a296f69b9e066c59a9f3bc16f1f542a
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

a551116 by Anders Broman (anders.broman@xxxxxxxxxxxx):

    Dumpcap: Set a bigger IO buffer (64KiB).
    
    Set a bigger IO buffer to avoid syscall overhead.
    See https://github.com/the-tcpdump-group/libpcap/issues/792
    
    Change-Id: If370da5ab2b70a9d0c925dd7c4c5c135c675c3f6
    Reviewed-on: https://code.wireshark.org/review/31326
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  101fed9   Cmake: Make it possible to check on HAVE_STRUCT_STAT_ST_BLKSIZE.
     add  a551116   Dumpcap: Set a bigger IO buffer (64KiB).


Summary of changes:
 dumpcap.c          | 29 +++++++++++++++++++++++++++--
 ringbuffer.c       | 40 ++++++++++++++++++++++++++++++++--------
 wsutil/file_util.h |  3 +++
 3 files changed, 62 insertions(+), 10 deletions(-)