* Unix System Command
@ 2002-08-20 17:23 Xin Ai
2002-08-20 18:23 ` Marre des Spameurs qui prennent les add dans les news [SauroN]
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Xin Ai @ 2002-08-20 17:23 UTC (permalink / raw)
Is there an unix system command that can be used to check out how many
processors are available on a supercomputer at a certain time?
Thanks
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Unix System Command 2002-08-20 17:23 Unix System Command Xin Ai @ 2002-08-20 18:23 ` Marre des Spameurs qui prennent les add dans les news [SauroN] 2002-08-20 19:59 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. 2002-08-21 8:45 ` Ralf Eichmann 2 siblings, 0 replies; 6+ messages in thread From: Marre des Spameurs qui prennent les add dans les news [SauroN] @ 2002-08-20 18:23 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 283 bytes --] sizer -p man sizer for more "Xin Ai" <xai@mail.wsu.edu> a �crit dans le message de news: ajttr2$c9g6$1@murrow.it.wsu.edu... | Is there an unix system command that can be used to check out how many | processors are available on a supercomputer at a certain time? | | Thanks | | ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unix System Command 2002-08-20 17:23 Unix System Command Xin Ai 2002-08-20 18:23 ` Marre des Spameurs qui prennent les add dans les news [SauroN] @ 2002-08-20 19:59 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. 2002-08-20 21:24 ` Xin Ai 2002-08-21 8:45 ` Ralf Eichmann 2 siblings, 1 reply; 6+ messages in thread From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2002-08-20 19:59 UTC (permalink / raw) In article <ajttr2$c9g6$1@murrow.it.wsu.edu>, "Xin Ai" <xai@mail.wsu.edu> writes: >Is there an unix system command that can be used to check out how many >processors are available on a supercomputer at a certain time? Depends on how you define "available". As someone else noted, you can use "sizer -p" to get the number. You can use psrinfo(1) to the state of each CPU. If online counts as available, this may be more useful to you than sizer. If you want available to mean "practically idle" that gets harder. > >Thanks > > > -- Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unix System Command 2002-08-20 19:59 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2002-08-20 21:24 ` Xin Ai 2002-08-21 19:58 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. 0 siblings, 1 reply; 6+ messages in thread From: Xin Ai @ 2002-08-20 21:24 UTC (permalink / raw) The "practically idle" situation is what I am really concerning on. I am running a parallel Fortan code (using openMP) on a public supercomputer. Sometimes the performance of the parallel code is even much worse than the sequential code if the computer is busy. So I am wondering if I can use some Unix system command to detect how many CPUs are really available, then I can let the parallel code to run with the maximum number of CPUs it can be. Thanks "Alan Rollow - Dr. File System's Home for Wayward Inodes." <alan@nabeth.cxo.cpqcorp.net> wrote in message news:Kcx89.29$x47.828576@news.cpqcorp.net... > In article <ajttr2$c9g6$1@murrow.it.wsu.edu>, "Xin Ai" <xai@mail.wsu.edu> writes: > > >Is there an unix system command that can be used to check out how many > >processors are available on a supercomputer at a certain time? > > Depends on how you define "available". As someone else noted, you > can use "sizer -p" to get the number. You can use psrinfo(1) to > the state of each CPU. If online counts as available, this may > be more useful to you than sizer. If you want available to mean > "practically idle" that gets harder. > > > >Thanks > > > > > > > -- > Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com) > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unix System Command 2002-08-20 21:24 ` Xin Ai @ 2002-08-21 19:58 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. 0 siblings, 0 replies; 6+ messages in thread From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2002-08-21 19:58 UTC (permalink / raw) In article <ajubup$cnt1$1@murrow.it.wsu.edu>, "Xin Ai" <xai@mail.wsu.edu> >The "practically idle" situation is what I am really concerning on. > [ remainder deleted for brevity... ] I > >Thanks > >"Alan Rollow - Dr. File System's Home for Wayward Inodes." ><alan@nabeth.cxo.cpqcorp.net> wrote in message >news:Kcx89.29$x47.828576@news.cpqcorp.net... >> In article <ajttr2$c9g6$1@murrow.it.wsu.edu>, "Xin Ai" <xai@mail.wsu.edu> >writes: >> >> >Is there an unix system command that can be used to check out how many >> >processors are available on a supercomputer at a certain time? >> >> Depends on how you define "available". As someone else noted, you >> can use "sizer -p" to get the number. You can use psrinfo(1) to >> the state of each CPU. If online counts as available, this may >> be more useful to you than sizer. If you want available to mean >> "practically idle" that gets harder. There are a number of ways to look at the current load on each CPU, though vmstat and iostat aren't among them. There is a program called cpuinfo that is part of the one of the programming example subsets, that displays the per-CPU data graphically. Monitor will display it via Curses. Collect, mostly likely collects CPU data per-CPU, so it probably displays it as well. I have a recollection of a dbx(1) command that can be used on the kernel to print the per- CPU stats. The tuning guide might offer a hint. The underlying information used by these problems is available using either table(2) or getsysinfo(2) (I don't recall which). The per-CPU load data is stored as the number of soft clock ticks spent in each of the different modes since the system booted; user mode, nice, kernel, wait and idle. A custom program to collect it and display it in some desired format be non-trivial, but not hard. Especially since the source to cpuinfo is part of the subset. The Monitor distribution also include sources. >> >Thanks -- Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Unix System Command 2002-08-20 17:23 Unix System Command Xin Ai 2002-08-20 18:23 ` Marre des Spameurs qui prennent les add dans les news [SauroN] 2002-08-20 19:59 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2002-08-21 8:45 ` Ralf Eichmann 2 siblings, 0 replies; 6+ messages in thread From: Ralf Eichmann @ 2002-08-21 8:45 UTC (permalink / raw) Xin Ai wrote: > > Is there an unix system command that can be used to check out how many > processors are available on a supercomputer at a certain time? > What kind of supercomputer do you mean? I'd say, that there is no standard command to get this information on every machine that is called a supercomputer by someone. Usually such systems are used with the help of some queueing system, such as RMS, LSF, NQS, PBS,... to avoid exactly the problem you experienced: system overload. One can find out the numer of idle processors with the tools provided by such systems. Moreover, one can can request as much processors as one needs for a certain job, and the queueing system starts the job only, if there are sufficient processors idle. HTH, Ralf ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-08-21 19:58 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-08-20 17:23 Unix System Command Xin Ai 2002-08-20 18:23 ` Marre des Spameurs qui prennent les add dans les news [SauroN] 2002-08-20 19:59 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. 2002-08-20 21:24 ` Xin Ai 2002-08-21 19:58 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. 2002-08-21 8:45 ` Ralf Eichmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox