lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <454799D8.1060908@cfl.rr.com>
Date:	Tue, 31 Oct 2006 13:45:44 -0500
From:	Phillip Susi <psusi@....rr.com>
To:	Olivier Galibert <galibert@...ox.com>,
	"Hack inc." <linux-kernel@...r.kernel.org>
Subject: Re: Reading a bunch of file as fast a possible

Yes, it sounds like you are looking for aio, possibly with O_DIRECT if 
you would prefer that the reads not churn the cache.

Olivier Galibert wrote:
> After searching for kinda-keywords in a locked-in-memory index, I get
> a list of 50-100 files out of several hundred thousands I want to read
> as fast as possible.  I can ensure that the directory structure in hot
> in the dcache by re-reading it from time to time, but there isn't
> enough memory to lock the documents there.  So I'd like to read 50-100
> files for which I have the sizes (I put them in the index) and memory
> space as fast as possible (less than 0.1s would be great) from
> cold-ish cache.
> 
> The best way is I think to find a way to give all the requests to the
> system and have it sort them optimally at the elevator level.  But how
> can I do that?  Can aio do it, or something else?
> 
>   OG.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ