'cp file1 file2' takes 2x`sizeof(file)` cache (2.3.99-pre9-2)

From: iafilius@xs4all.nl
Date: Tue May 16 2000 - 16:57:25 EST


Hello,

(noticed with 2.3.99-pre9-2, not checked on other kernel versions)

Just noticed while copying a (large/tested with 60MB) file it takes about
twice the file's size in cache (which takes it from free memory).

This must be because kernel doesn't know about the same files,
and caches them separate.
But it _is_ waste of memory isn't ?

Arjan Filius
mailto:iafilius@xs4all.nl

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



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:11 EST