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

On a system with many cores, only a few are listed #34

Open
vielmetti opened this issue Aug 24, 2017 · 9 comments
Open

On a system with many cores, only a few are listed #34

vielmetti opened this issue Aug 24, 2017 · 9 comments
Labels

Comments

@vielmetti
Copy link

Environment

  • OS: Ubuntu 16.04 LTS on Packet Type 2A / Cavium ThunderX 96-core ARMv8
  • Node version: ($ node --version) 4.2.6
  • gtop version: ($ npm info gtop version) 0.1.5

Description

The system I am using (Packet's Type 2A, a 96-core ARMv8 system) has more cores in it than the gtop display can easily show. A screen shot illustrates:

screen shot 2017-08-24 at 12 30 59 am

It looks like if the "CPU" window were floated to the top it could display things better.

@aksakalli
Copy link
Owner

aksakalli commented Aug 24, 2017

Hi @vielmetti

I don't know how intuitive to draw more than 8 cores in a terminal chart with really low resolution. It was my hobby hacking and I didn't foresee that somebody would actually run it on 96 core machine. :)

Initially, I needed the usage of each core to see how optimized my algorithm is or where I should make things multi thread etc.

I think, after a certain limit, it should only show total CPU percentage. What do you suggest?

@vielmetti
Copy link
Author

Yeah, the terminal chart is fine, it's got enough resolution to pull out the detail I'm looking for. (It doesn't for some reason show 100% cores though very well).

I'm more thinking of the column on the far right hand side showing CPU number and %. I think there's room on the screen if that column gets longer to overlap it instead of having it go to the back.

@jsd1710
Copy link

jsd1710 commented Aug 24, 2017

I think there is a lot of value in having the usages available per core in percentage format even with absurdly-high core count, but perhaps not by default. I would say maybe a 'paging' hotkey to scroll through sets of 8 cores at a time would be good, or perhaps put them into their own column that spans two rows such that CPU History and CPU Utilization would be 2 columns on the first row, and Memory and Swap History, Memory, Swap, and CPU Utilization would be on the second row. I personally do a lot of bench-marking with multi-socket systems and pin processes to individual cores, and one of the first metrics I look at is CPU utilization for red-flags, and if the chart doesn't have a colored-Key for the chart representing each core, it would make it less apparent which cores are behaving strangely.

@alex-taffe
Copy link

I’ve got the same problem on my 80 core Xeon based server, maybe it should just wrap?

screen shot 2017-10-04 at 4 17 33 pm

@usagi
Copy link

usagi commented Dec 14, 2018

Hi, @aksakalli and many cores guys

I has occur the same problem too with my RYZEN Threadripper 2990WX PC( it has 64 logical cores ).

I think, a paging idea is the simple and good solution. If you implement it then I want an auto paging feature and load sorting feature. A paging feature is switch a page automatic with a timer. And, a sorting feature is sort by an averaged load or a processor index.

Note: The screenshot was taken on wsltty / WSL / Windows10.

@fsegouin
Copy link

fsegouin commented May 8, 2019

Any update on this issue?

@Developer27149
Copy link

@aksakalli thanks.....I just have 12 cores...hope to display those.maybe 2 rows?

@ghost
Copy link

ghost commented Sep 5, 2020

@aksakalli thanks.....I just have 12 cores...hope to display those.maybe 2 rows?

I ended up just moving to htop, shows all the cores

@timcole
Copy link

timcole commented May 5, 2022

Would be really nice if this could show all 80 😭

I think a second or maybe even third row would be really useful!

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

No branches or pull requests

8 participants