ext3 ed ext4 (ext2?)

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Mario Vanoni
Iper Master
Iper Master
Messaggi: 3174
Iscritto il: lun 3 set 2007, 21:20
Nome Cognome: Mario Vanoni
Slackware: 12.2
Kernel: 3.0.4 statico
Desktop: fluxbox/seamonkey
Località: Cuasso al Monte (VA)

ext3 ed ext4 (ext2?)

Messaggio da Mario Vanoni »

Non tutto oro se ci sono tali battibecchi ...

http://www.h-online.com/open/Kernel-dev ... ews/112937
Ultima modifica di Mario Vanoni il sab 28 mar 2009, 17:57, modificato 2 volte in totale.

Avatar utente
phobos3576
Staff
Staff
Messaggi: 2980
Iscritto il: dom 17 apr 2005, 0:00
Slackware: 13.1
Kernel: 2.6.37-smp
Desktop: KDE 4.5.3

Re: ext3 ed ext4

Messaggio da phobos3576 »

Avevo già letto tempo fa di questo gravissimo problema provocato dalla "delayed allocation" implementata su Ext4.
In pratica, Ext4 scrive sul disco quando più gli fa comodo (entro però un certo limite di tempo) con l'effetto positivo di rendere più responsivo il sistema; l'effetto negativo è che, se nel frattempo va in crash l'applicazione che aveva richiesto la scrittura su disco, allora succede un disastro!

Quando ho letto questa cosa ho avuto la stessa reazione di Linus Torvalds nei confronti di Ted Ts'o (main developer di Ext4 alla IBM); secondo me, se Linus incontra per strada Ted Ts'o, tenta sicuramente di strangolarlo!

Del resto, giudicate voi; questo è Ted T'so prima che sviluppasse Ext4:

Immagine

Questo, invece, è lo stesso Ted T'so dopo aver sviluppato Ext4:

Immagine

Mario Vanoni
Iper Master
Iper Master
Messaggi: 3174
Iscritto il: lun 3 set 2007, 21:20
Nome Cognome: Mario Vanoni
Slackware: 12.2
Kernel: 3.0.4 statico
Desktop: fluxbox/seamonkey
Località: Cuasso al Monte (VA)

Re: ext3 ed ext4 (ext2?)

Messaggio da Mario Vanoni »

phobos3576 ha scritto:Avevo già letto tempo fa di questo gravissimo problema provocato dalla "delayed allocation" implementata su Ext4.
Che appare anche su ext3, ed ora anche su ext2:

Due macchine inchiodate con:
EXT2-fs error ...

Macchine ext2 pure!

Avatar utente
slucky
Iper Master
Iper Master
Messaggi: 2420
Iscritto il: mar 1 mag 2007, 15:30
Slackware: 15.0
Desktop: xfce4
Distribuzione: FreeBSD

Re: ext3 ed ext4 (ext2?)

Messaggio da slucky »

comunque ho notato che installando la current, nel tab riguardante la formattazione della / il fs di default è ora ext4 è sapendo che Pat con le novità ci va sempre molto cauto...la cosa mi ha un pò sorpreso... :-k
l'effetto negativo è che, se nel frattempo va in crash l'applicazione che aveva richiesto la scrittura su disco, allora succede un disastro!

Quando ho letto questa cosa ho avuto la stessa reazione di Linus Torvalds nei confronti di Ted Ts'o (main developer di Ext4 alla IBM); secondo me, se Linus incontra per strada Ted Ts'o, tenta sicuramente di strangolarlo!
:lol: :lol: :lol:

Avatar utente
JohnnyMnemonic
Staff
Staff
Messaggi: 2733
Iscritto il: dom 5 set 2004, 0:00
Nome Cognome: Giuseppe Palmiotto
Slackware: 14.0
Kernel: 3.5.5-thanatos
Località: Bologna
Contatta:

Re: ext3 ed ext4 (ext2?)

Messaggio da JohnnyMnemonic »

slucky ha scritto:comunque ho notato che installando la current, nel tab riguardante la formattazione della / il fs di default è ora ext4 è sapendo che Pat con le novità ci va sempre molto cauto...la cosa mi ha un pò sorpreso... :-k
Credo che non sia atato Pat, ma chi ha fatto il DVD della current, a modificare l'installer per mettere ext4

Avatar utente
Luci0
Staff
Staff
Messaggi: 3591
Iscritto il: lun 27 giu 2005, 0:00
Nome Cognome: Gabriele Santanché
Slackware: 12.2 14.0
Kernel: 2.6.27.46- gen 3.2.29
Desktop: KDE 3.5.10 Xfce
Località: Forte dei Marmi
Contatta:

Re: ext3 ed ext4 (ext2?)

Messaggio da Luci0 »

Ma allora c'é da tornare su reiserfs oppure usare xfs ?

Visto che sto installando una 12.2 provo jfs ...

Avatar utente
Blizzard
Master
Master
Messaggi: 1509
Iscritto il: mar 2 gen 2007, 22:53
Nome Cognome: Giovanni Santostefano
Slackware: 12.2
Kernel: 2.6.27.7-smp
Desktop: Fluxbox
Contatta:

Re: ext3 ed ext4 (ext2?)

Messaggio da Blizzard »

Sarebbe da provare a fare qualche benchmark prima di scegliere.
Ho trovato questo
http://fsbench.netnation.com/
Best bang for your buck - JFS or XFS:
While not the fastest file systems, both of them consistently perform close to EXT2, while using minimal CPU. XFS seems to be faster over a wider range of benchmarks, however it does use slightly more CPU than JFS. While JFS really starts to slow down with lots of files.

For I/O limited applications - ReiserFS v4, XFS, or ReiserFS v3:
This category isn't as clear cut as the others, it really depends on how many files, and what the size of the files are.

ReiserFS v4 is by far the fastest file system benchmarked here, but keep in mind it is still *EXPERIMENTAL*. However its performance in the Bonnie++ benchmark deserves recognition, up to 95% faster than EXT3, and 65% faster than ReiserFS v3 is mighty impressive. Though the IOZone benchmarks are not so convincing, there still seem to be some issues to work out. ReiserFS v4 will definiately be worth while keeping an eye on, especially considering some of the exciting new features it offers. Hopefully it gets included in Linus's v2.6 kernel tree.

If your application primarily uses lots of smaller files, ReiserFS v3 is the way to go. If your application uses more medium to larger files, and not a whole lot of them, XFS would most likely be a wise choice.

For CPU limited applications - JFS:
JFS is the clear winner here. If your looking for the absolute least CPU usage, JFS takes the cake.

SCSI vs. IDE:
Is money an object? If your answer is no, buy yourself SCSI drives, and send me a couple while your at it. ;)

If you're like most of us, and money is an object, SCSI has a hard time comparing to IDE. As you can see from the following benchmarks, a 10K RPM SCSI drive, that hdparm reports can read data up to 45% faster than its 7200 RPM IDE counterpart, in reality only gets you on average a 20% performance gain, depending on the file system.

ReiserFS v4 - gains the most at up to 50%
JFS and EXT3 - gain the least, at around 5-20%, shockingly JFS was even slower in one run.

Considering for the same disk sizes (72Gb vs 72Gb), SCSI (including controller) will cost about 5x more than IDE, you could easily build an IDE RAID array that would make up for any reliability short comings IDE may have, and still cost you considerably less. Though I only have personal experience to base this off, and no hard data, SCSI disks are much more reliable than IDE, especially if properly cooled.

If in your opinion a 20% average performance gain is worth paying 5x more for, please refer back to the first line in this section.
L'ho scaricato.
Se riesco a compilarlo ecc vi posto i miei risultati (peccato che al momento ho solo ext3 :( )

ciao
Gio

Avatar utente
slucky
Iper Master
Iper Master
Messaggi: 2420
Iscritto il: mar 1 mag 2007, 15:30
Slackware: 15.0
Desktop: xfce4
Distribuzione: FreeBSD

Re: ext3 ed ext4 (ext2?)

Messaggio da slucky »

probabile Johnny, comunque per curiosità lo sto provando e per ora non mi ha dato rogne ;)

Avatar utente
Blizzard
Master
Master
Messaggi: 1509
Iscritto il: mar 2 gen 2007, 22:53
Nome Cognome: Giovanni Santostefano
Slackware: 12.2
Kernel: 2.6.27.7-smp
Desktop: Fluxbox
Contatta:

Re: ext3 ed ext4 (ext2?)

Messaggio da Blizzard »

Blizzard ha scritto:Ho trovato questo
http://fsbench.netnation.com/
Se lo provate attenzione! se ho capito bene fa dei test su una partizione che gli va data direttamente nel sorgente. La partizione viene distrutta e i test vengono effettuati su diversi fs.

Rispondi