TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An optimization to help code compilation times on big CPUs

145 pointsby eaguyhnover 5 years ago

7 comments

boshomiover 5 years ago
the git commit: pipe: use exclusive waits when reading or writing[1]<p>[1] <a href="https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;torvalds&#x2F;linux.git&#x2F;commit&#x2F;?id=0ddad21d3e99c743a3aa473121dc5561679e26bb" rel="nofollow">https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;torvalds&#x2F;lin...</a>
评论 #22282226 未加载
评论 #22282873 未加载
Aardwolfover 5 years ago
Now just make &quot;-j&quot; the default and all is good :) Why <i>shouldn&#x27;t</i> make use the available resources by default?
评论 #22282896 未加载
评论 #22282614 未加载
评论 #22283950 未加载
评论 #22282376 未加载
ridiculous_fishover 5 years ago
Does this affect select() or only read()? Today if N procs select() on a single pipe, all will be woken up if the pipe becomes readable. Will this now mean that only one will be awoken?
kzrdudeover 5 years ago
Could the fix have any potential negative effects on other workloads?
评论 #22284015 未加载
teddyhover 5 years ago
GNU Make has been fixed, but I wonder if there are other programs which would also have similar bugs in their code? I am reminded of when systemd exposed bugs in system startup scripts, and everybody instead started hating systemd for breaking their systems.
评论 #22282975 未加载
评论 #22282404 未加载
chris_wotover 5 years ago
Suddenly LibreOffice build time’s increase substantially.
评论 #22283178 未加载
borisover 5 years ago
Good example of how we develop software these days: instead of fixing GNU make by ripping out that antiquated pipe-based jobserver and replacing it with proper multi-threaded parallelism[1], we rather optimize the operating system to make the antiquated stuff work better.<p>[1] Having hacked on GNU make I know this won&#x27;t be easy (it&#x27;s quite a mess). In fact, it would probably be easier to replace it entirely and fix some of its other deficiencies in the process.
评论 #22283115 未加载
评论 #22283452 未加载
评论 #22283098 未加载
评论 #22288507 未加载
评论 #22283005 未加载
评论 #22294678 未加载