Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16431

Re: [PATCH 5.1] zread: read files in 4k chunks

From "Jason A. Donenfeld" <Jason@zx2c4.com>
Newsgroups gnu.bash.bug
Subject Re: [PATCH 5.1] zread: read files in 4k chunks
Date 2020-06-22 12:50 -0600
Message-ID <mailman.276.1592851819.2574.bug-bash@gnu.org> (permalink)
References <20200622055328.155106-1-Jason@zx2c4.com> <3cac1f66-697d-396d-3dc8-fc5b621638a4@case.edu> <CAHmME9rHTCpeOaNwA1huBnBrL76qe-SHj=-cQYj_nEaMveGP=w@mail.gmail.com>

Show all headers | View raw


Hi Chet,

A little bit larger than 1024, I believe, so 2048 would be reasonable.

However, consider taking this patch as-is with the 4096 page size.
This will yield much better performance and have basically no
drawbacks on any system.

Another place lbuf should be increased is in zcatfd, by the way.

Jason

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: [PATCH 5.1] zread: read files in 4k chunks "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-06-22 12:50 -0600

csiph-web