Re: critical_enter()/critical_exit() overheads in an SMP system

2002-02-25 Thread Terry Lambert
Matthew Dillon wrote: :pid 214 guid/sec 687816Two TU's running, old critical_*() :pid 214 guid/sec 6876321.454 uS/call :pid 214 guid/sec 687857 :pid 214 guid/sec 687887 :pid 214 guid/sec 667454new critical_*() :pid 214 guid/sec 667562

critical_enter()/critical_exit() overheads in an SMP system

2002-02-24 Thread Matthew Dillon
Ok, I've done a more comprehensive test. TU = getuid() syscall test. This is on a 2xCPU SMP box. With one process running the syscall is 34 nS faster with the new critical_*(). With two processes running the syscall is 41 nS faster with the new critical_*(). So, not

Re: critical_enter()/critical_exit() overheads in an SMP system

2002-02-24 Thread Matthew Dillon
:pid 214 guid/sec 687816Two TU's running, old critical_*() :pid 214 guid/sec 6876321.454 uS/call :pid 214 guid/sec 687857 :pid 214 guid/sec 687887 :pid 214 guid/sec 667454new critical_*() :pid 214 guid/sec 6675621.496 uS/call