D27362: Linux/cpuinfo.c: bump CPUINFOBUFSIZE for 12+ core CPUs

Arjen Hiemstra noreply at phabricator.kde.org
Thu Feb 13 13:12:28 GMT 2020


ahiemstra requested changes to this revision.
ahiemstra added a comment.
This revision now requires changes to proceed.


  I agree with what @cfeck says. I can also already think of at least one case where even a 256KiB buffer would be too small, which is a dual-cpu Epyc system, where you can potentially have 128 cores / 256 threads.
  
  That said, I think a short-term buffer size bump is fine, I'd just increase it a bit more than 256, maybe make it 1024.
  
  Additionally, please add a comment regarding the limitations of the buffer size above the define, so that we can find some trace of this discussion in the future.

REPOSITORY
  R106 KSysguard

REVISION DETAIL
  https://phabricator.kde.org/D27362

To: jakobkummerow, davidedmundson, ahiemstra
Cc: ahiemstra, cfeck, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200213/d95d52e3/attachment-0001.html>


More information about the Plasma-devel mailing list