conraid ha scritto:Ma Mario, la "Online defragmentation" è cosa diversa da "Delayed allocation" che è quella messa in discussione (che tra l'altra hanno anche altri "moderni" filesystem)
per ext4
http://ext4.wiki.kernel.org/index.php/Main_Page
che per una introduzione rimanda a
http://kernelnewbies.org/Ext4
che poi ci siano svantaggi è naturale purtroppo, ma il problema che venne evidenziato a suo tempo fu risolto se non erro.
Ora dovrebbe essere meno "fallimentare", ma non totalmente visto il meccanismo con cui opera
Tra l'altro io ho capito che Google ha assunto il creatore di ext4 proprio per lavorarci e migliorare il filesystem
Dal tuo primo articolo citato
2.10. Online defragmentation
(This feature is being developed and will be included in future releases). While delayed allocation, extents and multiblock allocation help to reduce the fragmentation, with usage filesystems can still fragment. For example: You write three files in a directory and continually on the disk. Some day you need to update the file of the middle, but the updated file has grown a bit, so there's not enough room for it. You have no option but fragment the excess of data to another place of the disk, which will cause a seek, or allocate the updated file continually in another place, far from the other two files, resulting in seeks if an application needs to read all the files on a directory (say, a file manager doing thumbnails on a directory full of images). Besides, the filesystem can only care about certain types of fragmentation, it can't know, for example, that it must keep all the boot-related files contiguous, because it doesn't know which files are boot-related. To solve this issue, Ext4 will support online fragmentation, and there's a e4defrag tool which can defragment individual files or the whole filesystem.
Questo non e` ancora presente,
ma mi fa venire seri dubbi sulla sua affidabilta`, mi spiego:
HD vecchi, Hitachi/IBM da 1 TB hanno una memoria on-board di 32MB.
La loro logica integrata decide _quando_ scrivere i dati ricevuti,
non e` il FS o il SO che decide, alla merce' del produttore HD.
Quelli nuovi da 2 TB ecc. addirittura 64MB o 128MB on-board.
Ricordo di oltre 20 anni fa:
HD erano solo SCSI con UNIX,
la loro misera cache (8-16kB) == on-board memory di oggi
si poteva disattivare senza problemi.
In una ditta amica il capo non amava cache attivi sugli HD,
voleva che i dati fossero trasferiti all'istante!
Oggi come oggi mi sembra un po` un circolo vizioso,
SW molto intelligente che combatte HW molto potente.