From owner-freebsd-smp Fri Jun 11 8:28:21 1999 Delivered-To: freebsd-smp@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 0F5671526E; Fri, 11 Jun 1999 08:28:17 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (monica.cs.rpi.edu [128.213.7.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id LAA71507; Fri, 11 Jun 1999 11:28:10 -0400 (EDT) Message-Id: <199906111528.LAA71507@cs.rpi.edu> To: chris@calldei.com Cc: "David E. Cross" , freebsd-hackers@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: High syscall overhead? In-Reply-To: Message from Chris Costello of "Fri, 11 Jun 1999 09:59:25 CDT." <19990611095925.V57174@holly.dyndns.org> Date: Fri, 11 Jun 1999 11:28:09 -0400 From: "David E. Cross" Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Oops, here is some additional information from my system: bash-2.02$ cat sc.c int main (void) { int count=0; for(count=0;count <10000000;++count) getppid(); return 0; } bash-2.02$ cc -o sc sc.c bash-2.02$ uptime 11:19AM up 3 hrs, 4 users, load averages: 0.01, 0.01, 0.00 bash-2.02$ time ./sc real 0m18.523s user 0m0.000s sys 0m18.521s bash-2.02$ (date;time ./sc;date) & (date;time ./sc;date) & [3] 516 [4] 517 Fri Jun 11 11:21:51 EDT 1999 [1] Done time ./sc Fri Jun 11 11:21:51 EDT 1999 [2] Done time ./sc bash-2.02$ real 0m52.058s user 0m0.000s sys 0m52.056s real 0m52.056s user 0m0.000s sys 0m52.053s Fri Jun 11 11:22:43 EDT 1999 Fri Jun 11 11:22:43 EDT 1999 bash-2.02$ dmesg | head Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-STABLE #0: Fri Jun 11 08:18:12 EDT 1999 root@phoenix.home:/usr/src/sys/compile/PHOENIX_DUAL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Xeon/Celeron (686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183fbff> real memory = 268435456 (262144K bytes) avail memory = 257925120 (251880K bytes) Programming 24 pins in IOAPIC #0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc02df000. Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 It is -STABLE from June 7th, mid-day. -- David Cross | email: crossd@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message