5 ms·
I'm not an expert, I'm a lowly systems admin- But I imagine the difference is that size of systemd itself and how mysql does fork(). SystemD is 1.5MB itself o
by dijit 8y ago
I'm not an expert, I'm a lowly systems admin-
But I imagine the difference is that size of systemd itself and how mysql does fork().
SystemD is 1.5MB itself on my systems where I have it, but upstart (for example) is 148KB on centos 6.
Since an AMD Epyc has roughly 64Mb of L3 Cache, a larger binary would not have to be evicted from L3 cache as often.
One of Intels generally powerful all-rounder CPUs (2687Wv4) only has 30Mb of "Smart-cache" (which is fancy speak for; not that much)
A complete guess on my part though..
- plantain 8y agoL1/L2/L3 Cache doesn't cache whole binaries, just hot pages from it.
- lederhosen 8y agonot hot pages, just cache lines
- dsr_ 8y agoI'm upvoting you because even though you turn out to be wrong, you appear to have been sincere about it. You shouldn't be punished, even in fake internet points, for offering a hypothesis in good faith.
- michaelmrose 8y agoI don't think imaginary internet points serve entirely or even mostly to punish. It served to highlight valuable content and in some venues to weed out low value content entirely. This is more significant in large bodies of comments. Example highlighting the most useful 20 comments out of 700. Interestingly sometimes wrong information can lead to good threads where people provide helpful corrections. In this case the thread is valuable for stirring up discussion even if the information may be wrong.
- michaelmrose 8y agoAn additional point it may be sometimes be more worthwhile to downvote incorrect information only if it seems unlikely to bear useful fruit and after providing enlightening information to the commentor if possible.
- evanelias 8y ago> how mysql does fork() mysqld uses a single-process architecture; once running, it's not calling fork(). It creates a thread per connection, rather than forking a new process per connection like postgres.