WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Disk schedulers

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Disk schedulers
From: Paresh Nakhe <paresh.nakhe@xxxxxxxxx>
Date: Fri, 4 Feb 2011 21:53:36 +0530
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 04 Feb 2011 08:26:22 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=icAAk+F8rUYdhzoHwEtdXnWYkAxMNPxSeHSZaVRRFd4=; b=OoSzQAsoTtQ07iESnICLsXgWF06P1dfr7Ve20XFK6I48l16oxOJ+dAHb9zS4TZ3D53 IbchR4h7ZcRzz4AXbHcJt6BO1HGWgjof0qqp138cpXb93cPIDPHnW+F++5Tq1lHC8Wo3 JaMotB5mVRButdLd0VNTMcppZjz75SP+EtVDE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=eWgyW8iqPKdbyFlo+06PZrUXTCsdHxiTtPLg3SNRoh/mSwPW3QFC/9T2xd7YXn8MHW cR5FSM1WrRW/mYiboo9khok3lsb1k2CFpazowOxWaOy4oDULCnrn4b9bbVkq11vM01qr MDWlOqhxM4h0++O/r8Zf25gZT8SNRyXXtoF38=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1296834682.13091.698.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=GO-5eo9Qu=Bq2rKUush=2cR=YgMPxoqwY5A9k@xxxxxxxxxxxxxx> <20110204151147.GM2754@xxxxxxxxxxx> <AANLkTi=_7wifyOSFT29T0eQ-z_LiwMHqOx+Xeo6HvDmY@xxxxxxxxxxxxxx> <1296834682.13091.698.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On Fri, Feb 4, 2011 at 9:21 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
Please don't top post.

On Fri, 2011-02-04 at 15:34 +0000, Paresh Nakhe wrote:
> I was talking about dom0 here. We know that IO schedulers can be
> switched at runtime. They are not fixed at compile time configuration.
>
> After going through the code for IO schedulers, we realized that these
> were actually modules. If this is the case, we should be able to see
> them in /proc/modules which is not happening.

/proc/modules is core kernel functionality and I don't see how this
behaviour would differ from native.

Modules don't actually show up in /proc/modules until you load them.
This works for me.

quartz:~# modprobe deadline-iosched
quartz:~# cat /proc/modules
deadline_iosched 3671 0 - Live 0xf90e0000
nfsd 83866 11 - Live 0xf9098000
exportfs 3143 1 nfsd, Live 0xf8f08000
rtc_cmos 8147 0 - Live 0xf7c62000
rtc_core 14509 1 rtc_cmos, Live 0xf7c35000
rtc_lib 2428 1 rtc_core, Live 0xf7c04000

Ian.



root@paresh-hp:~# modprobe deadline-iosched
it is not showing the module after lsmod as in your case.

root@paresh-hp:~# rmmod deadline-iosched
ERROR: Module deadline_iosched does not exist in /proc/modules
(same for cfq-iosched)


root@paresh-hp:~# modprobe noop-iosched
FATAL: Module noop_iosched not found.


What could be the reason for this??

Anyways, if we modify the code, create a makefile, compile and load the module then there should not be any problem right??
Would it give an error saying that we are re-inserting an existing module??
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>