2006-10-03 15:25:46

by Thomas Maier

[permalink] [raw]
Subject: [PATCH 8/11] 2.6.18-mm3 pktcdvd: bio write congestion control

Hello,

this patch adds the ability to control the size of the drivers
bio write queue.
See the Documentation/* files in the patch for further infos.

http://people.freenet.de/BalaGi/download/pktcdvd-8-wqueue-congestion_2.6.18.patch

Signed-off-by: Thomas Maier<[email protected]>

-Thomas Maier


Attachments:
pktcdvd-8-wqueue-congestion_2.6.18.patch (11.54 kB)

2006-10-03 15:29:29

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH 8/11] 2.6.18-mm3 pktcdvd: bio write congestion control

On Tue, Oct 03 2006, Thomas Maier wrote:
> Hello,
>
> this patch adds the ability to control the size of the drivers
> bio write queue.

imho, this should not be a configuration option. The driver is perfectly
capable of sizing this queue appropriately (determined by the device)
without user interaction. Basically the option just needs to prevent the
system from falling over, just choose some low sane value.

--
Jens Axboe

2006-10-09 10:03:42

by Thomas Maier

[permalink] [raw]
Subject: Re: [PATCH 8/11] 2.6.18-mm3 pktcdvd: bio write congestion control

Hello,

the idea was to give the user/admin the ability to control
cpu load and memory consumption while the driver write to
DVD / CD, at least for testing purposes.
Maybe move this interface into debugfs?

-Thomas


Am 03.10.2006, 17:29 Uhr, schrieb Jens Axboe <[email protected]>:

> On Tue, Oct 03 2006, Thomas Maier wrote:
>> Hello,
>>
>> this patch adds the ability to control the size of the drivers
>> bio write queue.
>
> imho, this should not be a configuration option. The driver is perfectly
> capable of sizing this queue appropriately (determined by the device)
> without user interaction. Basically the option just needs to prevent the
> system from falling over, just choose some low sane value.
>