Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
teddyh
on Feb 23, 2021
|
parent
|
context
|
favorite
| on:
Mold: A Modern Linker
>
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).
rui314
on Feb 23, 2021
[–]
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
on Feb 23, 2021
|
parent
[–]
I wonder if that's filesystem/OS dependent.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
If you know the total size ahead of time, you might try using fallocate(2).