reiser4 mount options
Hi,
I run reiser4 on a laptop. I got serious fsync/flush problem.
almost randomly, the hard drive would run busy for minutes to dozens of minutes. while the computer is still responsive during this period, but firefox would hang until the hard gets idle again.
I guess I can set mount options to improve the situation.
Any suggestion is appreciated.
thanks
Signature · 2 lines
View this message in context: http://www.nabble.com/reiser4-mount-options-tp14476466p14476466.html Sent from the ReiserFS - General mailing list archive at Nabble.com.
Quoted 9 lines · butdiene
Hi,
I run reiser4 on a laptop. I got serious fsync/flush problem.
almost randomly, the hard drive would run busy for minutes to dozens of minutes. while the computer is still responsive during this period, but firefox would hang until the hard gets idle again.
Hm.. firefox is fsync-bound app?
Quoted 3 lines
I guess I can set mount options to improve the situation.
That hang can have a complex nature.
Well, try to play with the mount option "tmgr.atom_max_size=N", where N is atom size in blocks (by default it is total RAM pages / 4). Look at /proc/mounts to make sure that your changes take effect.
If it doesn't help, then let me know.
Thanks,
Edward.
Quoted 5 lines
Any suggestion is appreciated.
thanks
right now, I'm using the following setting. mount options are not the same as in /proc/mounts, I'm not sure which ones are accepted.
but the system seems to be more responsible now. the optimal_io_size was 64KB, seems to be too small.
I reduced the atom_max_size (from 0x2f238 = 784MB) to 0x800= 8MB.
not sure how they would help. I will report later if it really helps.
thanks
mount|grep sda3;cat /proc/mounts |grep root/dev/sda3 on / type reiser4 (rw,iocharset=utf8,tmgr.atom_max_flushers=0,optimal_io_size=2097152,atom_max_size=0x800,atom_max_age=0x600,atom_max_flushers=0) rootfs / rootfs rw 0 0/dev/root / reiser4 rw,atom_max_size=0x2f238,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0
Quoted 43 lines · Edward Shishkin
Quoted 9 lines · butdiene
Hi,
I run reiser4 on a laptop. I got serious fsync/flush problem.
almost randomly, the hard drive would run busy for minutes to dozens of minutes. while the computer is still responsive during this period, but firefox would hang until the hard gets idle again.
Hm.. firefox is fsync-bound app?
Quoted 3 lines
I guess I can set mount options to improve the situation.
That hang can have a complex nature.
Well, try to play with the mount option "tmgr.atom_max_size=N", where N is atom size in blocks (by default it is total RAM pages / 4). Look at
/proc/mountsto make sure that your changes take effect.If it doesn't help, then let me know.
Thanks,
Edward.Quoted 5 lines
Any suggestion is appreciated.
thanks
-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
View this message in context: http://www.nabble.com/reiser4-mount-options-tp14476466p14483298.html Sent from the ReiserFS - General mailing list archive at Nabble.com.
Quoted 10 lines · butdiene
right now, I'm using the following setting. mount options are not the same as in
/proc/mounts, I'm not sure which ones are accepted.but the system seems to be more responsible now. the
optimal_io_sizewas 64KB, seems to be too small.I reduced the
atom_max_size(from0x2f238= 784MB) to 0x800= 8MB.not sure how they would help. I will report later if it really helps.
Quoted 9 lines
thanks
mount|grep sda3;cat
/proc/mounts|grep root/dev/sda3on / type reiser4 (rw,iocharset=utf8,tmgr.atom_max_flushers=0,optimal_io_size=2097152,atom_max_size=0x800,atom_max_age=0x600,atom_max_flushers=0) rootfs / rootfs rw 0 0/dev/root/ reiser4
atom_max_size=0x2f238,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10
^^^^^^^^^^^^^^^^^^^^
You have atom_max_size unchanged.
Please, edit your /etc/fstab and reboot.
Thanks,
Edward.
Quoted 62 lines
0 0
Quoted 53 lines · Edward Shishkin
Quoted 11 lines · butdiene
Hi,
I run reiser4 on a laptop. I got serious fsync/flush problem.
almost randomly, the hard drive would run busy for minutes to dozens of minutes. while the computer is still responsive during this period, but firefox would hang until the hard gets idle again.
Hm.. firefox is fsync-bound app?
Quoted 5 lines
I guess I can set mount options to improve the situation.
That hang can have a complex nature.
Well, try to play with the mount option "tmgr.atom_max_size=N", where N is atom size in blocks (by default it is total RAM pages / 4). Look at
/proc/mountsto make sure that your changes take effect.If it doesn't help, then let me know.
Thanks,
Edward.Quoted 7 lines
Any suggestion is appreciated.
thanks
-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
I think this is a success report.
with optimal_io_size=2097152,atom_max_size=0x800, reiser4 runs very reasonable now. I put very heavy load on the file system. In past, those operations would definitely hang firefox for minutes, but it's barely noticeable now.
fstab line:
UUID=1b9fdd32-127f-4751-b6aa-5eb300000000 / reiser4
defaults,iocharset=utf8,optimal_io_size=2097152,atom_max_size=0x800 0 1
cat /proc/mounts:/dev/root / reiser4 rw,atom_max_size=0x2f238,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0
/proc/mounts doesn't agree with either fstab or "mount", I don't know why. I dare not to modify reiser4 source to print out valid settings.
thanks a lot!
output of mount:/dev/sda3 on / type reiser4 (rw,iocharset=utf8,optimal_io_size=2097152,atom_max_size=0x800)
Quoted 4 lines · Edward Shishkin
Quoted 1 line · butdiene
right now, I'm using the following setting. mount options are not the same
as
Quoted 98 lines
Quoted 9 lines
in
/proc/mounts, I'm not sure which ones are accepted.but the system seems to be more responsible now. the
optimal_io_sizewas 64KB, seems to be too small.I reduced the
atom_max_size(from0x2f238= 784MB) to 0x800= 8MB.not sure how they would help. I will report later if it really helps.
Quoted 9 lines
thanks
mount|grep sda3;cat
/proc/mounts|grep root/dev/sda3on / type reiser4 (rw,iocharset=utf8,tmgr.atom_max_flushers=0,optimal_io_size=2097152,atom_max_size=0x800,atom_max_age=0x600,atom_max_flushers=0) rootfs / rootfs rw 0 0/dev/root/ reiser4atom_max_size=0x2f238,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10
^^^^^^^^^^^^^^^^^^^^
You have
atom_max_sizeunchanged.
Please, edit your/etc/fstaband reboot.Thanks,
Edward.Quoted 62 lines
0 0
Quoted 53 lines · Edward Shishkin
Quoted 11 lines · butdiene
Hi,
I run reiser4 on a laptop. I got serious fsync/flush problem.
almost randomly, the hard drive would run busy for minutes to dozens of minutes. while the computer is still responsive during this period, but firefox would hang until the hard gets idle again.
Hm.. firefox is fsync-bound app?
Quoted 5 lines
I guess I can set mount options to improve the situation.
That hang can have a complex nature.
Well, try to play with the mount option "tmgr.atom_max_size=N", where N is atom size in blocks (by default it is total RAM pages / 4). Look at
/proc/mountsto make sure that your changes take effect.If it doesn't help, then let me know.
Thanks,
Edward.Quoted 7 lines
Any suggestion is appreciated.
thanks
-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
View this message in context: http://www.nabble.com/reiser4-mount-options-tp14476466p14484849.html Sent from the ReiserFS - General mailing list archive at Nabble.com.
Quoted 11 lines · butdiene
I think this is a success report.
with optimal_io_size=2097152,atom_max_size=0x800, reiser4 runs very reasonable now. I put very heavy load on the file system. In past, those operations would definitely hang firefox for minutes, but it's barely noticeable now.
fstab line:
UUID=1b9fdd32-127f-4751-b6aa-5eb300000000 / reiser4
defaults,iocharset=utf8,optimal_io_size=2097152,atom_max_size=0x800 0 1
Quoted 10 lines
cat
/proc/mounts:/dev/root/ reiser4 rw,atom_max_size=0x2f238,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0
/proc/mountsdoesn't agree with either fstab or "mount", I don't know why. I dare not to modify reiser4 source to print out valid settings.
Valid settings are in /proc/mounts, so we can see, that the problem still exists..
Sorry, ignore my suggestion about fstab. It is impossible to pass reiser4-specific mount options for ''/" via fstab, because all such options are passed to "/" via remount, but ->remount_fs() super operation is not implemented for reiser4.
However, it is possible to pass reiser4-specific mount options for "/" via boot loader. I have passed a string "rootflags=tmgr.atom_max_size=2048" to my grub, and it works for me. Note, that prefix "tmgr." is required and values should be passed in decimal format.
Thanks,
Edward.
Quoted 146 lines
thanks a lot!
output of mount:
/dev/sda3on / type reiser4 (rw,iocharset=utf8,optimal_io_size=2097152,atom_max_size=0x800)Quoted 7 lines · Edward Shishkin
Quoted 3 lines · butdiene
right now, I'm using the following setting. mount options are not the same
as
Quoted 120 lines
Quoted 9 lines
in
/proc/mounts, I'm not sure which ones are accepted.but the system seems to be more responsible now. the
optimal_io_sizewas 64KB, seems to be too small.I reduced the
atom_max_size(from0x2f238= 784MB) to 0x800= 8MB.not sure how they would help. I will report later if it really helps.
Quoted 11 lines
thanks
mount|grep sda3;cat
/proc/mounts|grep root/dev/sda3on / type reiser4 (rw,iocharset=utf8,tmgr.atom_max_flushers=0,optimal_io_size=2097152,atom_max_size=0x800,atom_max_age=0x600,atom_max_flushers=0) rootfs / rootfs rw 0 0/dev/root/ reiser4atom_max_size=0x2f238,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10
^^^^^^^^^^^^^^^^^^^^
You have
atom_max_sizeunchanged.
Please, edit your/etc/fstaband reboot.Thanks,
Edward.Quoted 79 lines
0 0
Quoted 67 lines · Edward Shishkin
Quoted 13 lines · butdiene
Hi,
I run reiser4 on a laptop. I got serious fsync/flush problem.
almost randomly, the hard drive would run busy for minutes to dozens of minutes. while the computer is still responsive during this period, but firefox would hang until the hard gets idle again.
Hm.. firefox is fsync-bound app?
Quoted 7 lines
I guess I can set mount options to improve the situation.
That hang can have a complex nature.
Well, try to play with the mount option "tmgr.atom_max_size=N", where N is atom size in blocks (by default it is total RAM pages / 4). Look at
/proc/mountsto make sure that your changes take effect.If it doesn't help, then let me know.
Thanks,
Edward.Quoted 9 lines
Any suggestion is appreciated.
thanks
-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html-
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Edward Shishkin
Sorry, ignore my suggestion about fstab. It is impossible to pass reiser4-specific mount options for ''/" via fstab, because all such options are passed to "/" via remount, but ->remount_fs() super operation is not implemented for reiser4.
However, it is possible to pass reiser4-specific mount options for "/" via boot loader. I have passed a string "rootflags=tmgr.atom_max_size=2048" to my grub, and it works for me. Note, that prefix "tmgr." is required and values should be passed in decimal format.
Last year when I needed rootflags I found out that they only work if your distro implements them through an initrd or initramfs. Since most distros do this it works ok. But my Gentoo system did not use an initramfs and I could not get rootflags options to work on the kernel command line.
So I made my own initramfs with BusyBox and a short script.
Signature · 1 line
Zan Lynx <[email protected]>
/dev/root / reiser4 rw,atom_max_size=0x800,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0
it works without initrd for me. the mount options are set properly in /proc/mounts now.
still need to see how it performs
thanks a lot!
Quoted 29 lines · Zan Lynx
Quoted 6 lines · Edward Shishkin
Sorry, ignore my suggestion about fstab. It is impossible to pass reiser4-specific mount options for ''/" via fstab, because all such options
are passed to "/" via remount, but ->remount_fs() super operation is not implemented for reiser4.Quoted 6 lines
However, it is possible to pass reiser4-specific mount options for "/" via
boot loader. I have passed a string "rootflags=tmgr.atom_max_size=2048" to my grub, and it works for me. Note, that prefix "tmgr." is required and
values should be passed in decimal format.Last year when I needed rootflags I found out that they only work if your distro implements them through an initrd or initramfs. Since most distros do this it works ok. But my Gentoo system did not use an initramfs and I could not get rootflags options to work on the kernel command line.
So I made my own initramfs with BusyBox and a short script.
Signature · 1 line
Zan Lynx <[email protected]>
Signature · 2 lines
View this message in context: http://www.nabble.com/reiser4-mount-options-tp14476466p14493053.html Sent from the ReiserFS - General mailing list archive at Nabble.com.
unfortunately, "sync" still hangs firefox
anything else to try?
Quoted 45 lines · butdiene
/dev/root/ reiser4 rw,atom_max_size=0x800,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0it works without initrd for me. the mount options are set properly in
/proc/mountsnow.still need to see how it performs
thanks a lot!
Quoted 29 lines · Zan Lynx
Quoted 6 lines · Edward Shishkin
Sorry, ignore my suggestion about fstab. It is impossible to pass reiser4-specific mount options for ''/" via fstab, because all such options
are passed to "/" via remount, but ->remount_fs() super operation is not implemented for reiser4.Quoted 6 lines
However, it is possible to pass reiser4-specific mount options for "/" via
boot loader. I have passed a string "rootflags=tmgr.atom_max_size=2048" to my grub, and it works for me. Note, that prefix "tmgr." is required and
values should be passed in decimal format.Last year when I needed rootflags I found out that they only work if your distro implements them through an initrd or initramfs. Since most distros do this it works ok. But my Gentoo system did not use an initramfs and I could not get rootflags options to work on the kernel command line.
So I made my own initramfs with BusyBox and a short script.
Signature · 1 line
Zan Lynx <[email protected]>
Signature · 2 lines
View this message in context: http://www.nabble.com/reiser4-mount-options-tp14476466p14498380.html Sent from the ReiserFS - General mailing list archive at Nabble.com.
I guess the solution for me is atom_min_size=0x100 or even smaller.
for a laptop, I don't want anything to hang, even at cost of general fs performance.
/dev/root / reiser4 rw,atom_max_size=0x100,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0
Quoted 55 lines · butdiene
unfortunately, "sync" still hangs firefox
anything else to try?
Quoted 46 lines · butdiene
/dev/root/ reiser4 rw,atom_max_size=0x800,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0it works without initrd for me. the mount options are set properly in
/proc/mountsnow.still need to see how it performs
thanks a lot!
Quoted 30 lines · Zan Lynx
Quoted 7 lines · Edward Shishkin
Sorry, ignore my suggestion about fstab. It is impossible to pass reiser4-specific mount options for ''/" via fstab, because all such options
are passed to "/" via remount, but ->remount_fs() super operation is not
implemented for reiser4.Quoted 6 lines
However, it is possible to pass reiser4-specific mount options for "/" via
boot loader. I have passed a string "rootflags=tmgr.atom_max_size=2048" to my grub, and it works for me. Note, that prefix "tmgr." is required and
values should be passed in decimal format.Last year when I needed rootflags I found out that they only work if your distro implements them through an initrd or initramfs. Since most distros do this it works ok. But my Gentoo system did not use an initramfs and I could not get rootflags options to work on the kernel command line.
So I made my own initramfs with BusyBox and a short script.
Signature · 1 line
Zan Lynx <[email protected]>
Signature · 2 lines
View this message in context: http://www.nabble.com/reiser4-mount-options-tp14476466p14502529.html Sent from the ReiserFS - General mailing list archive at Nabble.com.
Hello.
Quoted 5 lines · butdiene
unfortunately, "sync" still hangs firefox
anything else to try?
Would you please collect and send me sysrq-t statistics at firefox-hang time? It can be activated by doing
echo t > /proc/sysrq-trigger
in root console.
Thanks,
Edward.
Quoted 56 lines
Quoted 49 lines · butdiene
/dev/root/ reiser4 rw,atom_max_size=0x800,atom_max_age=0x927c0,atom_min_size=0x100,atom_max_flushers=0x1,cbk_cache_slots=0x10 0 0it works without initrd for me. the mount options are set properly in
/proc/mountsnow.still need to see how it performs
thanks a lot!
Quoted 32 lines · Zan Lynx
Quoted 6 lines · Edward Shishkin
Sorry, ignore my suggestion about fstab. It is impossible to pass reiser4-specific mount options for ''/" via fstab, because all such options
are passed to "/" via remount, but ->remount_fs() super operation is not implemented for reiser4.Quoted 8 lines
However, it is possible to pass reiser4-specific mount options for "/" via
boot loader. I have passed a string "rootflags=tmgr.atom_max_size=2048" to my grub, and it works for me. Note, that prefix "tmgr." is required and
values should be passed in decimal format.Last year when I needed rootflags I found out that they only work if your distro implements them through an initrd or initramfs. Since most distros do this it works ok. But my Gentoo system did not use an initramfs and I could not get rootflags options to work on the kernel command line.
So I made my own initramfs with BusyBox and a short script.
Signature · 1 line
Zan Lynx <[email protected]>