1

如何优化 Go 频繁的读文件导致的调度开销

 2 years ago
source link: https://www.v2ex.com/t/802687
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

如何优化 Go 频繁的读文件导致的调度开销

  chuwt · 4 小时 22 分钟前 · 736 次点击

现在需要对一个文件频繁的读,没有写,文件大小在 100-500G 左右,有顺序读,有随机读。 现在是读取次数太多陷入 syscall 太多然后导致调度占用时间变多,大佬们这种如何优化。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK