Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by teddyh

5 years ago

> So, the filesystem's performance to allocate new disk blocks seems to limit the performance of my linker.

If you know the total size ahead of time, you might try using fallocate(2).

2 comments

teddyh

Reply

rui314  5 years ago

I actually tried fallocate(2) but it didn't change the performance characteristics at all. It doesn't seem to do what its man page says.

  • mst  5 years ago

    I wonder if that's filesystem/OS dependent.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities