Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo-1.9.15p5 performance #30

Open
gngrossi opened this issue Jan 6, 2025 · 2 comments
Open

sudo-1.9.15p5 performance #30

gngrossi opened this issue Jan 6, 2025 · 2 comments

Comments

@gngrossi
Copy link

gngrossi commented Jan 6, 2025

There is a significant difference in the timings between the IBM ported tools sudo and the zopen tools sudo.
The CPU time looks to be four times larger.

RC=(0) [SYSA] bash-5.2$ /usr/lpp/ported/bin/sudo -V
Sudo version 1.7.2p2

RC=(0) [SYSA] bash-5.2$ time /usr/lpp/ported/bin/sudo ps -ef

real 0m0.192s
user 0m0.109s
sys 0m0.036s

--

RC=(0) [SYSA] bash-5.2$ which sudo
/hewitt/zopentools/guild/sudo-1.9.15p5/bin/sudo

RC=(0) [SYSA] bash-5.2$ time sudo ps -ef

real 0m3.460s
user 0m0.494s
sys 0m0.165s

@IgorTodorovskiIBM
Copy link
Contributor

Interesting, I'll give this a try, that is very significant

@IgorTodorovskiIBM
Copy link
Contributor

Do you see a difference in performance when running as "sudo ps -ef" as root vs non-root? Does sudo-1.9.15p6 have the same performance issue?
On my system, I'm seeing <1s on sudo ps -ef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants