From 9f028451234edb6c17e7d48fab4d24e20afa740f Mon Sep 17 00:00:00 2001 From: yoe Date: Tue, 23 Oct 2007 10:54:15 +0000 Subject: [PATCH] r292: Add note about deadline scheduler --- README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README b/README index a53024a..70018ed 100644 --- a/README +++ b/README @@ -21,6 +21,14 @@ device nodes: (if you need more than one NBD device, repeat the above command for nb1, nb2, ...) +Since there's a problem with nbd and the (default) cfq I/O scheduler, +you may want to set it to deadline: + +echo 'deadline' > /sys/block/nbd0/queue/scheduler + +(again, repeat the above for nbd1, nbd2, etc, if you need more than one +device) + Next, start the server. You can use a file or a block device for that: nbd-server -- 1.7.10.4