Re: Beagle CPU usage (was Proposed module: tracker)
- From: Xavier Bestel <xavier bestel free fr>
- To: Federico Mena Quintero <federico ximian com>
- Cc: Desktop Devel <desktop-devel-list gnome org>, Bastien Nocera <hadess hadess net>
- Subject: Re: Beagle CPU usage (was Proposed module: tracker)
- Date: Wed, 28 Mar 2007 00:28:30 +0200
On mar, 2007-03-27 at 14:52 -0600, Federico Mena Quintero wrote:
> [/me wonders if thumbnailers are measurably faster by using mmap()
> instead of read()...]
It depends on their access pattern. If they need sequential access,
read() is better because it can do prefetching (readahead).
> [Can you have thumbnailable files that are too large to mmap() even with
> a full address space? 8 GB videos on a 32-bit box?]
Of course you can't mmap a complete 8GB file on a 32bits box, but you
can do it partially (how much at a time depends on the kernel
configuration).
Xav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]