public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* smart cache. ist is possible?
@ 2009-03-15 15:28 Alexey Fisher
  2009-03-15 18:13 ` Sitsofe Wheeler
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Alexey Fisher @ 2009-03-15 15:28 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hallo all.
I found for my self how great is cache in linux. If read one file from
disk, so i don't need to do it second time, chace will do the job. It
speed up thing greatly. But i found it not working with realy big files.
Like i have 4GB RAM, so if i read a file like 4.6GB, cache won't work.
Is it possible to have some sort of smart cache wich will read for
exaplme 1GB from disk and other part from cache?

here is some simple test:
=====================cache not working==========================
dd if=dvd.iso of=/dev/null
9017680+0 Datensätze ein
9017680+0 Datensätze aus
4617052160 Bytes (4,6 GB) kopiert, 90,7817 s, *50,9 MB/s*

dd if=dvd.iso of=/dev/null
9017680+0 Datensätze ein
9017680+0 Datensätze aus
4617052160 Bytes (4,6 GB) kopiert, 90,7817 s, *50,9 MB/s*
===============================================================


=====================cache working============================
dd if=film.avi of=/dev/null
1432600+0 Datensätze ein
1432600+0 Datensätze aus
733491200 Bytes (733 MB) kopiert, 15,5108 s, *47,3 MB/s*

dd if=film.avi of=/dev/null
1432600+0 Datensätze ein
1432600+0 Datensätze aus
733491200 Bytes (733 MB) kopiert, 0,941367 s, *779 MB/s*
==============================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-16 17:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15 15:28 smart cache. ist is possible? Alexey Fisher
2009-03-15 18:13 ` Sitsofe Wheeler
2009-03-15 22:06   ` Alexey Fisher
2009-03-15 23:26     ` Sitsofe Wheeler
2009-03-16  7:34       ` Alexey Fisher
2009-03-16 17:36         ` Sitsofe Wheeler
2009-03-15 22:23 ` Dave Chinner
2009-03-16 13:02 ` Pádraig Brady
2009-03-16 15:15 ` Paulo Marques

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox