Print

Print


@osschar @abh3 - I think we're over-thinking things. We simply need the server to still function after upgrade: we don't need to have it appropriately optimized to take advantage of new features!

There's no way to reliably determine "optimal" memory usage, especially not in Linux. Even looking at the number of the memory pages in the system can be wildly incorrect (systemd starts you up in a cgroup, after all!).

Suggestion:

This way, admins are forced to make a decision for new installs - but old installs continue to work (albeit sub-optimally). The analogy here is ext3: even though the filesystem dates back to ~RHEL3, if you didn't reformat the partition when upgrading RHEL4 -> RHEL5, it would have quite sub-optimal performance as the old data formats were still present.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bbockelm in #470: @osschar @abh3 - I think we're over-thinking things. We simply need the server to still function after upgrade: we don't need to have it appropriately optimized to take advantage of new features!\r\n\r\nThere's no way to reliably determine \"optimal\" memory usage, especially not in Linux. Even looking at the number of the memory pages in the system can be wildly incorrect (systemd starts you up in a cgroup, after all!).\r\n\r\nSuggestion:\r\n* Pick a random default value. Say, 1GB RAM.\r\n* Have a BIG LOUD WARNING message in the log if V1-style attributes are utilized and use the default value for RAM.\r\n* If V2-style attributes are used, refuse to startup unless the admin specifies the RAM option.\r\n\r\nThis way, admins are forced to make a decision for new installs - but old installs continue to work (albeit sub-optimally). The analogy here is `ext3`: even though the filesystem dates back to ~RHEL3, if you didn't reformat the partition when upgrading RHEL4 -\u003e RHEL5, it would have quite sub-optimal performance as the old data formats were still present."}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/470#issuecomment-281694204"}}}

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1