From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [IPv6:2001:67c:29f4::29]) by lists.bufferbloat.net (Postfix) with ESMTPS id C92C73B2BE for ; Tue, 5 Jan 2016 14:29:35 -0500 (EST) Received: from yesthisis.dog ([2001:67c:29f4::3007] helo=pannekake.samfundet.no ident=unknown) by cassarossa.samfundet.no with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aGXIQ-0003bJ-EZ for bloat@lists.bufferbloat.net; Tue, 05 Jan 2016 20:29:30 +0100 Received: from sesse by pannekake.samfundet.no with local (Exim 4.84) (envelope-from ) id 1aGXIQ-0003t6-C6 for bloat@lists.bufferbloat.net; Tue, 05 Jan 2016 20:29:30 +0100 Date: Tue, 5 Jan 2016 20:29:30 +0100 From: "Steinar H. Gunderson" To: bloat@lists.bufferbloat.net Message-ID: <20160105192930.GA7803@sesse.net> References: <165DB6E9-A6DD-4626-B6AA-E1B2DBA0B5FA@gmail.com> <568C1209.5050403@taht.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <568C1209.5050403@taht.net> X-Operating-System: Linux 4.3.0 on a x86_64 User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [Bloat] Hardware upticks X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 19:29:36 -0000 On Tue, Jan 05, 2016 at 10:57:13AM -0800, Dave Täht wrote: > Context switch time is probably one of the biggest hidden nightmares in > modern OOO cpu architectures - they only go fast in a straight line. I'd > love to see a 1ghz processor that could context switch in 5 cycles. It's called hyperthreading? ;-) Anyway, the biggest cost of a context switch isn't necessarily the time used to set up registers and such. It's increased L1 pressure; your CPU is now running different code and looking at (largely) different data. /* Steinar */ -- Homepage: https://www.sesse.net/