IO randomly blocked for >1 minute while disk writes still in 2.6.16.1 + 2.6.16-reiser4-1
A message that is not in the archive (sent off-list or not yet received): [email protected].
Quoted 23 lines · rvalles
A few months ago I posted about a problem I was having with kernels newer than 2.6.12.x, where, apparently randomly, sometimes vim or other programs would be blocked for more than a minute, and during the entire blockage, the disk would appear to be writing data.
Since I saw talk on the matter, I thought it would be the mmap/fsync performance problem or something like that, and after so much time it would be fixed already, but apparently it isn't yet, which I discovered after building a 2.6.16.1 with the 2.6.16-reiser4-1 patch available on the namesys ftp server.
Soon after booting my desktop system and starting X, xfce, etc. I started to wget the latest knoppix ISO and then started to play a movie with mplayer. The movie is an avi ffmpeg + mp3 at about 1mbit/s overall. The described blockings happened again and again during the reproduction of the movie. Now, just to know the format, I played it again, and as it began, it blocked again... not even knoppix is downloading on the background.
I got knoppix so that I could boot it, get last reiser4tools and run a fsck --fix on my reiser4 partition. Since now I've already done that, I don't think it helped much.
Quoted 9 lines
I attach my kernel config file. I'll be very happy to provide any other debug information if it's needed, or to test patches and see if they fix the problem. For now, I'll fall back to 2.6.12.6, which is the latest kernel I can use which doesn't have the problem.
Sincerelly,
Roc Vallès <[email protected]>
Hello.
Would you please try the attached patch against 2.6.16.1+reiser4-for-2.6.16-1
Edward.
Quoted 35 lines · Edward Shishkin
Quoted 23 lines · rvalles
A few months ago I posted about a problem I was having with kernels newer than 2.6.12.x, where, apparently randomly, sometimes vim or other programs would be blocked for more than a minute, and during the entire blockage, the disk would appear to be writing data.
Since I saw talk on the matter, I thought it would be the mmap/fsync performance problem or something like that, and after so much time it would be fixed already, but apparently it isn't yet, which I discovered after building a 2.6.16.1 with the 2.6.16-reiser4-1 patch available on the namesys ftp server.
Soon after booting my desktop system and starting X, xfce, etc. I started to wget the latest knoppix ISO and then started to play a movie with mplayer. The movie is an avi ffmpeg + mp3 at about 1mbit/s overall. The described blockings happened again and again during the reproduction of the movie. Now, just to know the format, I played it again, and as it began, it blocked again... not even knoppix is downloading on the background.
I got knoppix so that I could boot it, get last reiser4tools and run a fsck --fix on my reiser4 partition. Since now I've already done that, I don't think it helped much.
Quoted 9 lines
I attach my kernel config file. I'll be very happy to provide any other debug information if it's needed, or to test patches and see if they fix the problem. For now, I'll fall back to 2.6.12.6, which is the latest kernel I can use which doesn't have the problem.
Sincerelly,
Roc Vallès <[email protected]>
Quoted 5 lines
Hello.
Would you please try the attached patch against
2.6.16.1+reiser4-for-2.6.16-1Edward.
Ok, building. Will report in 24h or when the problem occurs, whicheven happens first.
Thanks.
Signature · 1 line
- Do you study theories? - Oh yes! Theories are fun. - How do you use them? - When I must act, theories are too slow. To act, I must know.
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 17 lines · Edward Shishkin
Quoted 4 lines · Sergey Ivanov
Quoted 1 line · Edward Shishkin
Quoted 8 lines
Quoted 6 lines
Hello.
Would you please try the attached patch against
2.6.16.1+reiser4-for-2.6.16-1Edward.
Edward, can you, please, put patch somewhere in ftp.namesys.com,
ftp://ftp.namesys.com/pub/tmp/reiser4_gfp_kernel_to_nofs.patch.gz
Quoted 8 lines
Quoted 5 lines
- it's
stripped out by mailing list server. I'm planning to make new kernel today.the same problem?
No, just want to get latest patches included.
Thank you!
Signature · 1 line
Sergey.
Hi,
Quoted 3 lines
Quoted 3 lines
of the movie. Now, just to know the format, I played it again, and as it began, it blocked again... not even knoppix is downloading on the background.
I just wanted to note that i observed that same bahavior. I tried various things, like changing the kernel from preemption to no preemtion, trying the various IO-Schedulers and trying 2.6.15, 2.6.16 and 2.6.16-mm1. In the end i found out that there was a MAJOR performance gain by adding the noatime mount option. Before i added that I had to wait up to 20 minutes sometimes and now it doesn't stall more than a few seconds, but it still does. Seems like reiser4 has very big performance problems with the writing of atimes.
Another problem i had was specific to the reiser4-for-2.6.16-1.patch.gz patch. I got a kernel crash two times now, but wasn't yet able to log the error message anywhere because it would not let me write to the reiser4 partition after the error. It never corrupted any data though, fsck.reiser4 always reported a consistent fs. I'll try to trigger that problem again and make another post.
Signature · 4 lines
/============================================================\ | Michael Weissenbacher <[email protected]> | | http://www.dermichi.com/ | \============================================================/
Hi,
Sorry to quote myself here:
Quoted 6 lines
Another problem i had was specific to the reiser4-for-2.6.16-1.patch.gz patch. I got a kernel crash two times now, but wasn't yet able to log the error message anywhere because it would not let me write to the reiser4 partition after the error. It never corrupted any data though, fsck.reiser4 always reported a consistent fs. I'll try to trigger that problem again and make another post.
I've just noticed that this second problem i had is identical with the the thread "Re: kernel BUG at /usr/src/sources/linux-2.6.16-rc5/fs/reiser4/plugin/file/tail_conversion.c:29"
kind regards,
Signature · 4 lines
/============================================================\ | Michael Weissenbacher <[email protected]> | | http://www.dermichi.com/ | \============================================================/
Quoted 12 lines · Michael Weissenbacher
Hi,
Sorry to quote myself here:Quoted 8 lines
Another problem i had was specific to the reiser4-for-2.6.16-1.patch.gz patch. I got a kernel crash two times now, but wasn't yet able to log the error message anywhere because it would not let me write to the reiser4 partition after the error. It never corrupted any data though, fsck.reiser4 always reported a consistent fs. I'll try to trigger that problem again and make another post.
Quoted 7 lines
I've just noticed that this second problem i had is identical with the the thread "Re: kernel BUG at
/usr/src/sources/linux-2.6.16-rc5/fs/reiser4/plugin/file/tail_conversion.c:29"kind regards,
Sounds like we need to get our already completed bug fixes out the door....:-/
hans
Quoted 8 lines · Michael Weissenbacher
Hi,
Quoted 5 lines
Quoted 5 lines
of the movie. Now, just to know the format, I played it again, and as it began, it blocked again... not even knoppix is downloading on the background.
Quoted 10 lines
I just wanted to note that i observed that same bahavior. I tried various things, like changing the kernel from preemption to no preemtion, trying the various IO-Schedulers and trying 2.6.15, 2.6.16 and 2.6.16-mm1. In the end i found out that there was a MAJOR performance gain by adding the noatime mount option. Before i added that I had to wait up to 20 minutes sometimes and now it doesn't stall more than a few seconds, but it still does. Seems like reiser4 has very big performance problems with the writing of atimes.
I think this got fixed in recent versions, vs please comment.
Quoted 8 lines
Another problem i had was specific to the reiser4-for-2.6.16-1.patch.gz patch. I got a kernel crash two times now, but wasn't yet able to log the error message anywhere because it would not let me write to the reiser4 partition after the error. It never corrupted any data though, fsck.reiser4 always reported a consistent fs. I'll try to trigger that problem again and make another post.
Quoted 23 lines · rvalles
A few months ago I posted about a problem I was having with kernels newer than 2.6.12.x, where, apparently randomly, sometimes vim or other programs would be blocked for more than a minute, and during the entire blockage, the disk would appear to be writing data.
Since I saw talk on the matter, I thought it would be the mmap/fsync performance problem or something like that, and after so much time it would be fixed already, but apparently it isn't yet, which I discovered after building a 2.6.16.1 with the 2.6.16-reiser4-1 patch available on the namesys ftp server.
Soon after booting my desktop system and starting X, xfce, etc. I started to wget the latest knoppix ISO and then started to play a movie with mplayer. The movie is an avi ffmpeg + mp3 at about 1mbit/s overall. The described blockings happened again and again during the reproduction of the movie. Now, just to know the format, I played it again, and as it began, it blocked again... not even knoppix is downloading on the background.
I got knoppix so that I could boot it, get last reiser4tools and run a fsck --fix on my reiser4 partition. Since now I've already done that, I don't think it helped much.
Quoted 9 lines
I attach my kernel config file. I'll be very happy to provide any other debug information if it's needed, or to test patches and see if they fix the problem. For now, I'll fall back to 2.6.12.6, which is the latest kernel I can use which doesn't have the problem.
Sincerelly,
Roc Vallès <[email protected]>
There is another possible explanation for your problem. That other explanation will be much more work for us to fix, so please tell us if the patch you were sent fixes it, and if not then we have to do the hard fix.
Hans
Quoted 34 lines · Hans Reiser
Quoted 23 lines · rvalles
A few months ago I posted about a problem I was having with kernels newer than 2.6.12.x, where, apparently randomly, sometimes vim or other programs would be blocked for more than a minute, and during the entire blockage, the disk would appear to be writing data.
Since I saw talk on the matter, I thought it would be the mmap/fsync performance problem or something like that, and after so much time it would be fixed already, but apparently it isn't yet, which I discovered after building a 2.6.16.1 with the 2.6.16-reiser4-1 patch available on the namesys ftp server.
Soon after booting my desktop system and starting X, xfce, etc. I started to wget the latest knoppix ISO and then started to play a movie with mplayer. The movie is an avi ffmpeg + mp3 at about 1mbit/s overall. The described blockings happened again and again during the reproduction of the movie. Now, just to know the format, I played it again, and as it began, it blocked again... not even knoppix is downloading on the background.
I got knoppix so that I could boot it, get last reiser4tools and run a fsck --fix on my reiser4 partition. Since now I've already done that, I don't think it helped much.
Quoted 9 lines
I attach my kernel config file. I'll be very happy to provide any other debug information if it's needed, or to test patches and see if they fix the problem. For now, I'll fall back to 2.6.12.6, which is the latest kernel I can use which doesn't have the problem.
Sincerelly,
Roc Vallès <[email protected]>
Quoted 7 lines
There is another possible explanation for your problem. That other explanation will be much more work for us to fix, so please tell us if the patch you were sent fixes it, and if not then we have to do the hard fix.
Hans
I set the kernel to build and went to sleep. Woke up now, and I'm rebooting to see how the patch does fare. I'll report back at the first occurrence of the problem or after 24h, whichever happens first.
Thanks for your work.
Signature · 1 line
- Do you study theories? - Oh yes! Theories are fun. - How do you use them? - When I must act, theories are too slow. To act, I must know.
A message that is not in the archive (sent off-list or not yet received): [email protected].
Quoted 40 lines · rvalles
Quoted 39 lines · Hans Reiser
Quoted 23 lines · rvalles
A few months ago I posted about a problem I was having with kernels newer than 2.6.12.x, where, apparently randomly, sometimes vim or other programs would be blocked for more than a minute, and during the entire blockage, the disk would appear to be writing data.
Since I saw talk on the matter, I thought it would be the mmap/fsync performance problem or something like that, and after so much time it would be fixed already, but apparently it isn't yet, which I discovered after building a 2.6.16.1 with the 2.6.16-reiser4-1 patch available on the namesys ftp server.
Soon after booting my desktop system and starting X, xfce, etc. I started to wget the latest knoppix ISO and then started to play a movie with mplayer. The movie is an avi ffmpeg + mp3 at about 1mbit/s overall. The described blockings happened again and again during the reproduction of the movie. Now, just to know the format, I played it again, and as it began, it blocked again... not even knoppix is downloading on the background.
I got knoppix so that I could boot it, get last reiser4tools and run a fsck --fix on my reiser4 partition. Since now I've already done that, I don't think it helped much.
Quoted 9 lines
I attach my kernel config file. I'll be very happy to provide any other debug information if it's needed, or to test patches and see if they fix the problem. For now, I'll fall back to 2.6.12.6, which is the latest kernel I can use which doesn't have the problem.
Sincerelly,
Roc Vallès <[email protected]>There is another possible explanation for your problem. That other explanation will be much more work for us to fix, so please tell us if the patch you were sent fixes it, and if not then we have to do the hard fix.
Quoted 7 lines
Quoted 2 lines
Hans
I set the kernel to build and went to sleep. Woke up now, and I'm rebooting to see how the patch does fare. I'll report back at the first occurrence of the problem or after 24h, whichever happens first.
After a few minutes of use, I exited "kismet" and it "locked". It's been like 15 minutes already, but kismet hasn't succeed exiting. A kill -9 won't kill it either. The HD led is on, gkrellm reports continous writing in the partition at a rate of about 500KB/s. Reading the maildir for reiserfs list (1500 mails or so) was sloooooow too. I believe the patch just makes things worse, never had a "lock" last more than two minutes ever before.
Hopefully the other explanation is correct and we can bury this problem forever soon. As I'm typing, the "lock" ended and the process finally died, which means it took about 20 minutes.
Going to reboot into 2.6.12.6 again once I confirm on exim logs that the mail got sent, since I can't really use the computer with this kernel.
I'll be happy to test other patches and see if they fix the problem or not.
Thanks.
Roc Vallès
[email protected]
Signature · 1 line
- Do you study theories? - Oh yes! Theories are fun. - How do you use them? - When I must act, theories are too slow. To act, I must know.
A message that is not in the archive (sent off-list or not yet received): [email protected].
Using 2.6.16.11 with reiser4 for 2.6.16-2, things are still very bad.
Signature · 1 line
- Do you study theories? - Oh yes! Theories are fun. - How do you use them? - When I must act, theories are too slow. To act, I must know.