lkml.org 
[lkml]   [2004]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: file as a directory
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hans Reiser wrote:
| David Masover wrote:
|
|>
|>
|> Speaking of which, how much speed is lost by starting up a process?
|>
|> The idea of caching is that running
|>
|> cat *; cat *; cat *; cat *; cat *
|>
|> is probably slower than
|>
|> cat * > baz; cat baz; cat baz; cat baz; cat baz; cat baz
|
|
| Only for small files where the per file overhead of a read is significant.

That's potentially a common problem, and "cat *" is an overly-simplified
example. Either you force the "plugin" to say whether it wants to be
cached or not, or you cache everything, because there are going to be
plugins like "tar -xjp" for which caching is a HUGE increase.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQIVAwUBQcMDJHgHNmZLgCUhAQLDMxAAiW6qcBUDKepjkGGK30yyjpia7yzbRlI5
CLSwLnRFTX+oVoqIjYgjw6Cy+Y+kPAW8nL54Vnrvn/fjd05YV6SXIql/XqX5ZY1M
SXSD9LKnhxUEIH80Qcm8MdKtx0CrAPSIxVehpz7Clrv8pSClgtN2JIG1r4FsQHuB
E3Hasw11bHKZmg+NgYtNn1IDcgUxz2iTmw8xSwAlPtBZz8Enc4so4VVqZPOUYg+z
CTYOi84Qe8ecDGjhC6ZNvuEKsd8PgNl81MgEcJ5zcsnyCbNLpS2E8v1drsfVmXE5
8kbwelpc2q5ayEnNjeJgpIug8wH57cRWyc5KlAY733kZFTloG3LsnlWli8j9v0LT
sTcOtJMWa2zj7O7LE+1z/j6xMkjlPoT/QolMsAUv0SqloOihsfF3R71uolW3mrvM
VT8eQw5VUSHZyix/MqU0uDdvbOXsAoRvDL4xhdUAQv9/WbpGCNsB1PAiM693GFT2
A3VKiEcp0KMRUQZUxa5E1tBZh7WpwFvYkNTqxoN1fIDRKR6o/snAUDVb8UdTWxaW
T169coH6jS/4gEQVzsZ2PvWJ8gGpV5BjXM0C/04pgVLN4e610sJsoUXsha49wpob
bXgA8kw1wHp2C9fuA/NjNzyki8kzaTunkviu8ki/kaV7fEirVc0Prw78w7G2MkcC
j3enAzaZHVI=
=UFkt
-----END PGP SIGNATURE-----
-
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:08    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site