[pbs-devel] Authentication performance
Mark Schouten
mark at tuxis.nl
Fri Dec 13 17:21:02 CET 2024
Hi All,
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.
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.
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.
I’m thinking one of these two calls:
1879332 GET /api2/json/admin/datastore (on average 30 per second)
14587762 POST /api2/json/access/ticket. (on average 238 per second)
Where the number is the amount of requests today, so far.
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.
Let me know what you think, thanks!
—
Mark Schouten
CTO, Tuxis B.V.
+31 318 200208 / mark at tuxis.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pbs-devel/attachments/20241213/f39f1276/attachment.htm>
More information about the pbs-devel
mailing list