<html><head>
<style id="css_styles">
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
table { border-collapse: collapse; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] { list-style-position: inside;}
body { font-family: Helvetica; font-size: 9pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
a.em-mention[href] { text-decoration: none; color: inherit; border-radius: 3px; padding-left: 2px; padding-right: 2px; background-color: #e2e2e2; }
</style>
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>Hi All,</div><div><br /></div><div>As you may know, we offer free PBS accounts up to 150GB and this is quite popular. So popular, that I am seeing performance issues on the PBS-end. Yesterday, we rebooted a PBS and directly after booting, the load was about 14, without any running tasks.</div><div><br /></div><div>I think one of the obvious bottlenecks is authentication, as we’re using PBS in a slightly different manner than it was probably initially intended. Because we’re currently doing about 240 succesful authentication-requests per second (on average) on this server.</div><div><br /></div><div>But we do notice that the PBS is responding slow, even though there are not that many tasks. Which leads me to believe that if we can tweak the authentication process, OR one of the calls that a PVE cluster is doing on the PBS.</div><div><br /></div><div>I’m thinking one of these two calls:</div><div><br /></div><div>1879332 GET /api2/json/admin/datastore (on average 30 per second)</div><div>14587762 POST /api2/json/access/ticket. (on average 238 per second)</div>
<div><br /></div><div>Where the number is the amount of requests today, so far.</div><div><br /></div><div>Again, I know this is a different situation from normal, but if we can improve PBS even further. My knowledge of Rust is minimal, but if someone can point me to the logic here, I may be able to see possible improvements myself. Although you guys are probably much more capable at that.</div><div><br /></div><div>Let me know what you think, thanks!</div><div><br /></div><div id="signature_old" style="clear:both"><div style="margin: 0px; padding: 0px; box-sizing: content-box;">— </div><div style="margin: 0px; padding: 0px; box-sizing: content-box;">Mark Schouten</div><div style="margin: 0px; padding: 0px; box-sizing: content-box;">CTO, Tuxis B.V.</div><div style="margin: 0px; padding: 0px; box-sizing: content-box;">+31 318 200208 / mark@tuxis.nl</div></div><div><br /></div>
</body></html>