strange reiser4 messages in /var/log/messages
Hi,
I have vanilla 2.6.15.4 kernel with reiser4-for-2.6.15-1.patch applied. The machine is SMP with SCSI 17G drive formatted as reiser4. The reiser4 works for /var/spool, with rate about 100 files/sec creating and deleting sometimes after, average filesize about 10k, with total spool size about 5G.
Under load the following messages from reiser4 occur in the log:
--
Mar 5 13:21:02 test-10 kernel: <4>reiser4[sendmail(3485)]: disable_write_barrier (fs/reiser4/wander.c:233)[zam-1055]: Mar 5 13:21:02 test-10 kernel: WARNING: disabling write barrier -- and then recurring lines: -- Mar 6 14:26:27 test-10 kernel: <4>reiser4[ecelerity(7189)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 14:26:27 test-10 kernel: WARNING: Flushing like mad: 16384 -- Mar 6 16:33:57 test-10 kernel: <4>reiser4[sendmail(14667)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 16:33:57 test-10 kernel: WARNING: Flushing like mad: 16384 -- Mar 6 16:34:03 test-10 kernel: <4>reiser4[sendmail(14667)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 16:34:03 test-10 kernel: WARNING: Flushing like mad: 32768 -- Mar 6 17:13:39 test-10 kernel: <4>reiser4[sendmail(32517)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 17:13:39 test-10 kernel: WARNING: Flushing like mad: 16384 -- Mar 6 17:23:18 test-10 kernel: <4>reiser4[sendmail(5564)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 17:23:18 test-10 kernel: WARNING: Flushing like mad: 16384 -- Mar 6 17:27:34 test-10 kernel: <4>reiser4[sendmail(7008)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 17:27:34 test-10 kernel: WARNING: Flushing like mad: 16384 -- Mar 6 17:30:48 test-10 kernel: <4>reiser4[sendmail(12149)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 17:30:48 test-10 kernel: WARNING: Flushing like mad: 16384 -- Mar 6 17:46:16 test-10 kernel: <4>reiser4[ecelerity(30614)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 17:46:16 test-10 kernel: WARNING: Flushing like mad: 16384 -- Mar 6 17:47:52 test-10 kernel: <4>reiser4[sendmail(17150)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 17:47:52 test-10 kernel: WARNING: Flushing like mad: 16384
...
Please, advice, what do these messages mean, does this situation result in data loss or damage, and are there some new patches to fix it?
Signature · 2 lines
With best regards,
Sergey Ivanov.Poor performance (was Re: strange reiser4 messages in /var/log/messages)
This is the result of testing SMTP server on the same machine with the /var/spool partition formatted once as reiser4, and once as ext3. The server was accepting messages from smtp-source generating messages of with 20k byte length in 40 parallel sessions on another host, and sending it to another machine running smtp-sink for /dev/nulling all these traffic. The only difference was the filesystem, once reiser4 and once ext3.
The difference was very clear, while on ext3 sendmail manage to deliver 103.74 msg/sec, on reiser4 it gives only 36.25 messages/sec. 1 message delivery involves reading and deleting 2 files in /var/spool. On ext3 it receives 159.49 msg/sec, while on reiser4 - only 40.31 msg/sec. Receiving a message involves creating 2 files, one for the message and one small file for smtp information about it.
I hope this poor reiser4 performance is due to this conditions, reflected in /var/log/messages, and will be fixed.
Signature · 2 lines
With best regards,
Sergey Ivanov.Quoted 22 lines · Sergey Ivanov
Hi,
I have vanilla 2.6.15.4 kernel with reiser4-for-2.6.15-1.patch applied. The machine is SMP with SCSI 17G drive formatted as reiser4. The reiser4 works for/var/spool, with rate about 100 files/sec creating and deleting sometimes after, average filesize about 10k, with total spool size about 5G.
Under load the following messages from reiser4 occur in the log:
--Mar 5 13:21:02 test-10 kernel: <4>reiser4[sendmail(3485)]: disable_write_barrier (fs/reiser4/wander.c:233)[zam-1055]: Mar 5 13:21:02 test-10 kernel: WARNING: disabling write barrier--
and then recurring lines:
--
[skip]Mar 6 17:47:52 test-10 kernel: <4>reiser4[sendmail(17150)]: commit_current_atom (fs/reiser4/txnmgr.c:1092)[nikita-3176]: Mar 6 17:47:52 test-10 kernel: WARNING: Flushing like mad: 16384...
Please, advice, what do these messages mean, does this situation result in data loss or damage, and are there some new patches to fix it?
Re: Poor performance (was Re: strange reiser4 messages in /var/log/messages)
In reply to a message not in the archiveJindrich, thank you very much!
I have just finished new test with reiser4 /var/spool mounted with noatime and nodiratime options.
And, having 34 reiser4 whoes in /var/log/messages during 3 hours, I've got delivery rate 120 messages/sec, that is clearly better than ext3 with noatime. And reception rate was also pretty good - 147 messages/sec. I'll redo the tests with nodiratime set for ext3, - I did not know about such option.
But the "flushing like mad" cases remain problem, - I can see they result in lost connections with smtp-source mailgenerator. And if it may result in data corruption, it's totally unexeptable. Hope it's not.
Signature · 1 line
Sergey.
Quoted 25 lines · Jindrich Makovicka
Quoted 7 lines · Sergey Ivanov
This is the result of testing SMTP server on the same machine with the
/var/spoolpartition formatted once as reiser4, and once as ext3. The server was accepting messages from smtp-source generating messages of with 20k byte length in 40 parallel sessions on another host, and sending it to another machine running smtp-sink for/dev/nullingall these traffic. The only difference was the filesystem, once reiser4 and once ext3.Quoted 9 lines
The difference was very clear, while on ext3 sendmail manage to deliver 103.74 msg/sec, on reiser4 it gives only 36.25 messages/sec. 1 message delivery involves reading and deleting 2 files in
/var/spool. On ext3 it receives 159.49 msg/sec, while on reiser4 - only 40.31 msg/sec. Receiving a message involves creating 2 files, one for the message and one small file for smtp information about it.
I hope this poor reiser4 performance is due to this conditions, reflected in/var/log/messages, and will be fixed.Did you try mounting Reiser4 with noatime & nodiratime? Another possibility is that the slowdown is due to poor
fsync()performance.--
Jindrich Makovicka