soluzioni
[steffe@lab3 steffe]$ date
Thu Oct 2 14:40:23 CEST 2003
[steffe@lab3 steffe]$ time dd if=/dev/zero of=/tmp/prova count=100000
100000+0 records in
100000+0 records out
real 0m3.356s
user 0m0.050s
sys 0m0.870s
[steffe@lab3 steffe]$ time dd if=/dev/zero of=prova count=100000
100000+0 records in
100000+0 records out
real 0m7.107s
user 0m0.030s
sys 0m0.430s
[steffe@lab3 steffe]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 8254272 5628912 2206064 72% /
/dev/hda1 124427 16990 101013 15% /boot
/dev/hda8 14634572 32828 13858340 1% /exp
/dev/hda5 10317828 32812 9760900 1% /local
none 127720 0 127720 0% /dev/shm
/dev/hda7 2039792 87776 1848400 5% /tmp
/dev/hda6 2063504 294324 1664360 16% /var
mail:/data/home 91540100 40759064 46131024 47% /net/home
mail:/data/mail 91540100 40759064 46131024 47% /net/mail
mail:/data/share 91540100 40759064 46131024 47% /net/share
La scrittura sulla home è piu' lenta. Le home non stanno su un disco di
lab3, ma su un server di rete (mail), come si vede dal comando df. Quindi per
scriverci sopra, occorre trasportare i dati attraverso la rete, e questa operazione
è più lenta della scrittura su un disco locale.
CHIUDI
Laboratorio di Comunicazione mediante Calcolatore - Sergio Steffè - AA 2003/2004
- PISA