Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: RadeonTop: A New Utility For Open AMD Users

  1. #11
    Join Date
    Sep 2006
    Posts
    708

    Default

    I mainly mean the text file behavior:

    - output one line once, containing the percentages about the last second (= one sec delay as data is gathered)
    - output one line once, containing a 1 for each unit that is busy at that moment
    I would probably guess that you'd just copy the behavior of iostat and vmstat so that it's a familiar behavior for people.

    So you would just output a line of data after the prescribed time period and have the position of the data be significant. Effectively a space deliminated output.

    If you want the second, the execution overhead becomes big (~17ms), so you can't have really accurate results - getting say 1000 ticks per sec becomes impossible.
    Just have the default something that makes sense and let users optionally specify time periods. Limitations on time periods required to get meaningful results should be specified in documentation. See the man files for those above mentioned programs and see if that could be meaningfully applied to what you are doing.

    For example; if I am running a series of compute nodes in a cluster I probably am not going to want to have per-second resolution. More then likely I would like a report every five minutes or so. Anything shorter of that you start running into issues with network overhead and nagios overhead and whatnot when dealing with dozens or hundreds of systems. So it would run once every 5 minutes and gather statistics for 20 seconds. Typically 30 seconds is the time out for programs like Nagios so I wouldn't want to gather stats for longer then that. Or possibly have a running program that monitors constantly and then queries that daemon for reports every five minutes. Something like that if you can imagine it.

    Alternatively, it could output either of those until terminated. Percentages once per second, or direct values once per tick. Optionally with a timeout or a max number of lines.
    You could also throw load averages into the mix. 1 minute, 5 minutes, 15 minute averages similar to how 'uptime' load works.

    I don't know the nature of the registers to give more specific information then that, unfortunately.

  2. #12
    Join Date
    Dec 2011
    Posts
    1,353

    Default Geeky

    Sounds geeky.

    Hope someone makes something similar for Intel and Nvidia too.

  3. #13
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    3,577

    Default

    So you would just output a line of data after the prescribed time period and have the position of the data be significant. Effectively a space deliminated output.
    That wouldn't make sense, since the fields differ a bit between cards. Harder to parse, even with a header line. Also I want to keep the freedom to reorder the output if needed if some field proves wrong, etc.

    I'm leaning towards continous output of percentages, ie timestamped lines with each field specified with a couple letters.

    11234324: vgt: 50%, foo: 70%

  4. #14
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    983

    Default

    Quote Originally Posted by uid313 View Post
    Sounds geeky.

    Hope someone makes something similar for Intel and Nvidia too.
    http://cgit.freedesktop.org/xorg/app...ntel_gpu_top.c

  5. #15
    Join Date
    Dec 2007
    Posts
    1,975

    Default

    Quote Originally Posted by oliver View Post
    Is this technically possible on r300 based hardware too? Since all r300 based hardware pretty much uses the open driver, this would be really nice to have there. r600 based users may still be using the blob for a while?
    Older asics have similar registers (RBBM_STATUS, etc.) that can be polled the same way.

  6. #16
    Join Date
    Mar 2009
    Location
    in front of my box :p
    Posts
    625

    Default

    Ah. Now that is persons not complaining about free driver PM or stuff, this is people doing something about it.
    Decent work!
    Stop TCPA, stupid software patents and corrupt politicians!

  7. #17
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    3,577

    Default

    Quote Originally Posted by Adarion View Post
    Ah. Now that is persons not complaining about free driver PM or stuff, this is people doing something about it.
    Decent work!
    Implying I didn't complain for two weeks until I decided to do something

  8. #18
    Join Date
    Jan 2009
    Posts
    1,278

    Default

    Quote Originally Posted by curaga View Post
    Implying I didn't complain for two weeks until I decided to do something
    The difference is that you can do something about it.

  9. #19
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    3,577

    Default

    Quote Originally Posted by 89c51 View Post
    The difference is that you can do something about it.
    Please elaborate. Can as in? Can code?

  10. #20
    Join Date
    Jan 2009
    Posts
    1,278

    Default

    Quote Originally Posted by curaga View Post
    Please elaborate. Can as in? Can code?
    Yes. Code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •