Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 8 Nov 2001 11:40:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 8 Nov 2001 11:40:13 -0500 Received: from posta2.elte.hu ([157.181.151.9]:32744 "HELO posta2.elte.hu") by vger.kernel.org with SMTP id ; Thu, 8 Nov 2001 11:40:04 -0500 Date: Thu, 8 Nov 2001 18:37:57 +0100 (CET) From: Ingo Molnar Reply-To: To: Roy Sigurd Karlsbakk Cc: Subject: Re: speed difference between using hard-linked and modular drives? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Nov 2001, Ingo Molnar wrote: > > Are there any speed difference between hard-linked device drivers and > > their modular counterparts? > > minimal. a few instructions per IO. Arjan pointed out that there is also the cost of TLB misses due to vmalloc()-ing module libraries, which can be as high as a 5% slowdown. we should fix this by trying to allocate continuous physical memory if possible, and fall back to vmalloc() only if this allocation fails. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/