lkml.org 
[lkml]   [2004]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: ~500 megs cached yet 2.6.5 goes into swap hell
    Andrew Morton writes:

    > OK, a bit of fiddling does indicate that if a file is present on both
    > client and server, and is modified on the client, the rsync client will
    > indeed touch the pagecache pages twice. Does this describe the files which
    > you're copying at all?

    The client/server thing is a bit misleading, what matters is the
    direction of the transfer. In the case I saw this morning, the G5 was
    the sender. In any case I was using the -W switch, which tells it not
    to use the rsync algorithm but just transfer the whole file. So I
    believe that rsync on the G5 side was just reading the file through
    once.

    I have also noticed similar behaviour after doing a bk pull on a
    kernel tree.

    The really strange thing is that the behaviour seems to get worse the
    more RAM you have. I haven't noticed any problem at all on my laptop
    with 768MB, only on the G5, which has 2.5GB. (The laptop is still on
    2.6.2-rc3 though, so I will try a newer kernel on it.)

    Regards,
    Paul.
    -
    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: 2005-03-22 14:02    [W:0.026 / U:88.656 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site