lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 15 Aug 2008 16:13:24 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	imipak@...oo.com
Cc:	netdev@...r.kernel.org, Daniel Ng <daniel_ng11@...os.com>
Subject: Re: Multicast Routing Kernel option?

Jonathan Day <imipak@...oo.com> writes:

> They could, I guess, but context switches are expensive (think 20ms
> from kernel to user, and same in reverse)

40ms for a system call? That would be really horrible if it really
were that slow. Fortunately it's not. A Core2 (Merom) here can do a
very simple system call roundtrip (getppid()) in ~570 cycles, that is
at 2Ghz less than 300ns. You are roughly 5 orders of magnitude off.
 
-Andi
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists