[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48077120.8030007@unimore.it>
Date: Thu, 17 Apr 2008 17:47:44 +0200
From: Paolo Valente <paolo.valente@...more.it>
To: Avi Kivity <avi@...ranet.com>
CC: Jens Axboe <jens.axboe@...cle.com>, Pavel Machek <pavel@....cz>,
linux-kernel@...r.kernel.org
Subject: Re: [RESEND][RFC] BFQ I/O Scheduler
Avi Kivity ha scritto:
> Jumping in at random, does "process" here mean task or mms_struct? If
> the former, doesn't that mean that a 100-thread process can starve out
> a single-threaded process?
>
> Perhaps we need hierarchical io scheduling, like cfs has for the cpu.
>
Hierarchical would simplify isolating groups of threads or processes.
However, some simple solution is already available with bfq. For
example, if you have to fairly share the disk bandwidth between the
above 100 threads and another important thread, you get it by just
assigning weight 1 to each of these 100 threads, and weight 100 to the
important one.
Paolo
--
-----------------------------------------------------------
| Paolo Valente | |
| Algogroup | |
| Dip. Ing. Informazione | tel: +39 059 2056318 |
| Via Vignolese 905/b | fax: +39 059 2056199 |
| 41100 Modena | |
| home: http://algo.ing.unimo.it/people/paolo/ |
-----------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists