Thursday, August 22, 2019

increasing default read size? & using direct read?

I was noticing that it took a LONG time to read in a 606.9MB file in
a "local" gvim session (local meaning gvim running on same machine
as file is located).

I finally figured that it was reading 64KB at a time
using async reads.

That is really slow compared to using a direct
read of say, 16M at a time....

I.e. using the async reads, for a 8M file takes 2.14s.
It averages 4MB/s,

Using a direct read of 16M/read takes .18s averaging 3.5GB/s.

Is there anyway to speed up vim's reading of large files?


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5D5F0AD4.8050003%40tlinx.org.

No comments: