From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079343919689.tru64-unix-managers.marc@archive.invalid> From: Scott Mutchler Date: Fri, 28 Apr 2000 17:21:29 +0000 To: tru64-unix-managers Subject: SUMMARY: smp processor utilization as reported by collect X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079343919689 Hello all, I had three responses to my questions: thank you (in order of reply) = to=20 Tom Blinn, tpb@doctor.zk3.dec.com Bret Koontz, processor system or > 100% on each. Yes Collgui is averaging the 2 CPUs together in this = case. > If applications are using=20 > 20% on one CPU and 80% on another CPU then the applications are using = 50% > of the total available > CPU resources. You could look at that as 100% of one CPU is used but > really you have 2 CPUs sharing the work load so it is not really true. >=20 >=20 =3D=3D=3D Hello Scott, the CPU summary statistics are just that: a summary for the system (over all CPUs). Thus, a single CPU in a dual CPU system that has a 100% user load will account for a 50% user load in the CPU summary. Using your example, let's pretend that we're looking at one collect sample. In this sample, let's assume the CPUs have the following loads: CPU user system idle(+wait) --- ---- ------ ---- 0 25 25 50 1 70 25 5 because you have 2 CPUs, the maximum possible value for user, system, or idle is 200. Thus, in the CPU summary: user: user(CPU-0 + CPU-1) / Maximum * 100 =3D summary user %CPU 95 / 200 * 100 =3D 47.5% system: 50 / 200 * 100 =3D 25% idle: 55 / 200 * 100 =3D 27.5% The CPU use of processes is, however, based on a single CPU. That is, if a process is monopolizing a CPU, its "%CPU" value will be 100. If you have two CPUs and a multithreaded process, it's possible for the process to monopolize both CPUs, which would cause its "%CPU" value to be 200. hope this helps, Rob Urban > -----Original Message----- > From: Scott Mutchler [mailto:smutchler@gfs.com]=20 > Sent: Monday, April 24, 2000 9:50 AM > To: tru64-unix-managers@ornl.gov=20 > Subject: smp processor utilization as reported by collect >=20 >=20 > Hello All, >=20 > Does anyone have (or know where I can find) an explanation of processor > utilization in an SMP configuration? I am benchmarking an in-house > application on a two processor 4100 (running 4.0F and TCR 1.6; the other > cluster node is also a 4100 but with just one cpu). The application is > interpreted Progess 4GL. =20 >=20 > I am using the tool "collect" v2.0 and the "collgui" tool for graphing > results. What I see during the run of this application is that cpu 0 > ranges from 15-25% user time, 0 wait, 2-25% system time, and the > difference is, of course, idle . >=20 > cpu 1, on the other hand, shows the user space ranging from 60-80%, with > system time similar to cpu 0, and it also has 0% wait; the difference > again is idle (10-40% in this case). >=20 > The cpu summary graph (from collgui) seems to have averaged them and = shows > about 40-45% of the time in user space, 0 wait, a range of 5-25% in = system > space, and the difference (about 55% on average) as idle. >=20 > So my questions: What is a reasonable interpretation of processor use? > Is there only 100% of cpu resources available or with two processors is > there 100% of each processor, somehow making 200% of the resource > available? It seems that the "collgui" tool averaged the two cpus for = its > graphing. If approximately 20% of one cpu is used and approximately 80% > of the other cpu is used, is the application essentially getting 100% of = a > cpu resource? What is a good explanation for this? =20 >=20 > I welcome any insights or advice on this topic. I want to be sure to = size > our system appropriately for its expected load. >=20 > Thank you in advance >=20 > Scott Mutchler > Gordon Food Service