Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 20 Nov 2001 17:05:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 20 Nov 2001 17:05:37 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:58888 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Tue, 20 Nov 2001 17:05:21 -0500 Date: Tue, 20 Nov 2001 20:05:05 -0200 (BRST) From: Rik van Riel X-X-Sender: To: Dan Maas Cc: Subject: Re: Swap In-Reply-To: <037701c1720a$159ee9a0$1a01a8c0@allyourbase> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Nov 2001, Dan Maas wrote: > > I bet they're getting mmap()d, like all mp3 programs seem to do > > Just a note here - I see much fewer buffer underruns and more consistent > read-ahead/drop-behind behavior (i.e. no paging of other programs) when > using plain read(), as opposed to mmap(). Consider this a VM bug, mmap() really should be more efficient. regards, Rik -- Shortwave goes a long way: irc.starchat.net #swl http://www.surriel.com/ http://distro.conectiva.com/ - 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/