linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Fall back io scheduler for 2.6.15?
@ 2006-01-14 16:10 Chuck Ebbert
  2006-01-16  8:43 ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: Chuck Ebbert @ 2006-01-14 16:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Jens Axboe, linux-kernel, Mingming Cao

In-Reply-To: <20060113174914.7907bf2c.akpm@osdl.org>

On Fri, 13 Jan 2006, Andrew Morton wrote:

> OK.  And I assume that AS wasn't compiled, so that's why it fell back?

As of 2.6.15 you need to use "anticipatory" instead of "as".

Maybe this patch would help?

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>

--- 2.6.15a.orig/block/elevator.c
+++ 2.6.15a/block/elevator.c
@@ -150,6 +150,13 @@ static void elevator_setup_default(void)
 	if (!chosen_elevator[0])
 		strcpy(chosen_elevator, CONFIG_DEFAULT_IOSCHED);
 
+	/*
+	 * Be backwards-compatible with previous kernels, so users
+	 * won't get the wrong elevator.
+	 */
+	if (!strcmp(chosen_elevator, "as"))
+		strcpy(chosen_elevator, "anticipatory");
+
  	/*
  	 * If the given scheduler is not available, fall back to no-op.
  	 */
-- 
Chuck
Currently reading: _Olympos_ by Dan Simmons

^ permalink raw reply	[flat|nested] 11+ messages in thread
* ext3 allocate-with-reservation latencies
@ 2005-04-05  3:51 Lee Revell
  2005-04-07 13:08 ` Stephen C. Tweedie
  0 siblings, 1 reply; 11+ messages in thread
From: Lee Revell @ 2005-04-05  3:51 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

I can trigger latencies up to ~1.1 ms with a CVS checkout.  It looks
like inside ext3_try_to_allocate_with_rsv, we spend a long time in this
loop:

ext3_test_allocatable (bitmap_search_next_usable_block)
find_next_zero_bit (bitmap_search_next_usable_block)
find_next_zero_bit (bitmap_search_next_usable_block)

ext3_test_allocatable (bitmap_search_next_usable_block)
find_next_zero_bit (bitmap_search_next_usable_block)
find_next_zero_bit (bitmap_search_next_usable_block)

etc.

Lee

[-- Attachment #2: ext3_reservation.bz2 --]
[-- Type: application/x-bzip, Size: 3287 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-01-21 11:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-14 16:10 Fall back io scheduler for 2.6.15? Chuck Ebbert
2006-01-16  8:43 ` Jens Axboe
2006-01-19 19:38   ` Nate Diller
2006-01-21  6:14   ` Tejun Heo
2006-01-21 11:44     ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2005-04-05  3:51 ext3 allocate-with-reservation latencies Lee Revell
2005-04-07 13:08 ` Stephen C. Tweedie
2005-04-07 23:37   ` Mingming Cao
2005-04-08 14:40     ` Stephen C. Tweedie
2005-04-08 18:10       ` Mingming Cao
2005-04-11 11:48         ` Stephen C. Tweedie
2005-04-11 18:38           ` Mingming Cao
2005-04-11 19:57             ` Stephen C. Tweedie
2005-04-12  6:41               ` Mingming Cao
2005-04-12 11:18                 ` Stephen C. Tweedie
2005-04-12 23:27                   ` Mingming Cao
2005-04-13 10:29                     ` Stephen C. Tweedie
2005-04-22 22:10                       ` [RFC][PATCH] Reduce ext3 allocate-with-reservation lock latencies Mingming Cao
2005-04-28  3:45                         ` Lee Revell
2005-04-28 19:14                           ` [RFC] Adding multiple block allocation to current ext3 Mingming Cao
2006-01-10 23:26                             ` [PATCH 0/5] " Mingming Cao
2006-01-11  5:25                               ` Andrew Morton
2006-01-11 19:17                                 ` Mingming Cao
2006-01-11 19:43                                   ` Andrew Morton
2006-01-14  1:12                                     ` Fall back io scheduler for 2.6.15? Mingming Cao
2006-01-14  1:49                                       ` Andrew Morton
2006-01-14  5:22                                         ` Dave Jones
2006-01-16  8:43                                         ` Jens Axboe
2006-01-19 19:37                                           ` Nate Diller
2006-01-20  8:10                                             ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).