lkml.org 
[lkml]   [2006]   [May]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 00/33] Adaptive read-ahead V12
    FromAndi Kleen <>
    Date26 May 2006 16:00:14 +0200
    Andrew Morton <akpm@osdl.org> writes:
    > 
    > These are nice-looking numbers, but one wonders.  If optimising readahead
    > makes this much difference to postgresql performance then postgresql should
    > be doing the readahead itself, rather than relying upon the kernel's
    > ability to guess what the application will be doing in the future.  Because
    > surely the database can do a better job of that than the kernel.
    
    With that argument we should remove all readahead from the kernel? 
    Because it's already trying to guess what the application will do. 
    
    I suspect it's better to have good readahead code in the kernel
    than in a zillion application.
    
    -Andi
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    
    
    \
     
     \ /
      Last update: 2006-05-26 16:02    [from the cache]
    ©2003-2008