From: krause@cup.hp.com (Mike Krause)
Subject: Re: seeking context switch times/TPC cache-miss figures
Date: 22 Feb 1995 14:02:09 GMT [thread overview]
Message-ID: <3ifg51$nvj@hpindda.cup.hp.com> (raw)
In-Reply-To: 3ie6q4$fsf@geraldo.cc.utexas.edu
Someone posted the following results awhile ago, so they may no longer
be valid. Here is the posting:
>(3) Context-switching times in microseconds
>
>Platform, Operating System Context Switching Time
>Processor Speed (Mhz)
>
>HP-735, 99 HP-UX 9.01 68
>486DX, 33 QNX 4.2 80
>DEC 4000/610, 160 OSF/1 v1.3 87
>486DX2, 66 Linux 0.99.10 98
>IBM RS6000/580, 62 AIX 3.2 102
>Sun SS10, 40 SunOS 4.1.3 128
>Sun SS10, 40 SunOS 5.2 225
>Sun SS2, 40 SunOS 5.2 454
Note that these times are the measured result of a pair of processes
signalling each other, which includes the additional kernel call overhead
for the signalling calls. A benefit of this approach is that the source is
portable to a wide range of UNIX systems, howver, a more correct result,
but currently less portable, can be obtained by using the sched_yield()
call in a POSIX 1003.1b (previously 1003.4) OS. Since this approach
executes only one kernel call per context switch, with no signal processing
being done, it is a more accurate indication of the actual context switch
time. Without the signal processing, the intervals are also much shorter.
For example, the Pentium/90 number for QNX drops from 23 usec to 2 usecs,
the 486/66 number drops from 44 to 5 usecs. Here's a more complete listing
of numbers collected from various responses on the net:
Platform, Operating System Context Switching Time
Processor Speed (Mhz) in microseconds
90 MHz PCI Pentium QNX 4.21 23
60 MHz ALR Pentium QNX 4.2 28
100 MHz HP-747x HP-RT 1.1 34
66 MHz 486DX2 QNX 4.2 44
100 Mhz HP-735 HP-UX 9.01 68
50 MHz HP-742 HP-RT 1.1 71
33 MHz 486DX QNX 4.2 80
150 MHz 21064 DEC OSF/1 v1.3 93
80 MHz HP-712/80 HP-UX 9.05 96
40 MHz DEC 5000/240 Ultrix 4.2 98
66 MHz 486DX2 Linux 0.99.10 98
150 MHz DEC 3000/500 ? 100
62 MHz IBM-RS6000/580 AIX 3.2 102
66 Mhz Snake HP-UX 9.x 106
150 MHz DEC 3000/400 ? 127
40 Mhz Viking SunOS 4.1.3 128
25 MHz DEC 5000/200 ? 154
50 MHz R4000 SGI ? 158
33 MHz Sparc SunOS 4.1.1 198
40 MHz MIPS R3000 Ultrix 4.3 198
33 Mhz 486 386BSD 0.1 210
85 MHz Sparcstation-5 SunOS 4.1.3_U1 210
50 Mhz RIOS AIX 3.2 212
20 MHz DEC 5000/120 ? 281
33 MHz R3000/3010 SGI Irix 4.0.5 345
33 MHz 486 NetBSD 380
50 MHz Sparcstation-LX Solaris 2.3 620
50 MHz 486DX2 Solaris 636
16 MHz 386SX NetBSD 2603
next prev parent reply other threads:[~1995-02-22 14:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-22 2:16 seeking context switch times/TPC cache-miss figures Anthony Petro
1995-02-22 9:16 ` Ken Green
1995-02-23 1:35 ` Hamish Marson
1995-02-22 14:02 ` Mike Krause [this message]
1995-02-24 6:16 ` "Randell Jesup"
1995-02-24 18:23 ` Doug Siebert
1995-02-25 19:46 ` Dan Hildebrand
1995-02-24 18:44 ` Joel Sumner
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox