Hi helasz
OK, now we have enough information to identify what is happening. When you copy a file, it gets
opened for reading and is promptly cached by the operating system. I you do that with a large
enough file, it will replace the current cache contents with whatever was read last. Although I have
not tried this, I suspect that if you copy a large enough directory of small files, the result will be the
same. Here is a simple test I did using the time command on a compile script and a cp command.
1. time ./compilecreaterootlist (0.73Secs, the command was previously cached)
2. time cp /mntt/bb/devil.iso /dev/null (93.4Secs, copied from Samba server, Pentium233Mhz, 256Mb)
3. time ./compilecreaterootlist (2.4Secs, the command was no longer cached)
4. time ./compilecreaterootlist (0.72Secs, the command was once again cached)
The ISO file was 427Mb. The machine I ran the commands on is an 800Mhz P3 with 512Mb. The
following applications were running at the time: terminal, MC, 5 copies of editor, wireshark, geany, and
AppBrowser.