3 ms·
Significant in what way? I created 400 processes + 328 threads on a 10-year-old CPU and htop is not using more than 1.3% CPU on a machine with 800% available CP
by herpderperator 7y ago
Significant in what way? I created 400 processes + 328 threads on a 10-year-old CPU and htop is not using more than 1.3% CPU on a machine with 800% available CPU power (quad-core, 8-thread)[0]. That means 0.16% total CPU used. While I agree that it is _less_ efficient than some other ways, in what way is that _significant_?
[0] https://i.imgur.com/onNSHQw.png https://i.imgur.com/onNSHQw.png
- kuschku 7y agoTry many small or tiny processes, and soon htop overhead becomes significant (up to 5% total utilization in my situation), that's not exactly efficient.
- sanjayts 7y agoOn a 64 core / 512GB RAM server-class machine with 2K tasks, around 20K threads and 12% load, `htop` lags like crazy -- pretty much unusable.
- for_xyz 7y agoOn my system there are 240 tasks running with ~1700 threads. Htop is using 6% of single core with cgroup column disabled and 9% with it enabled. It spends most of the time in kernel space so it's not htops fault. > While I agree that it is _less_ efficient than some other ways, in what way is that _significant_? This gets noticeable when every connected user/session runs the htop.