View previous topic :: View next topic |
Author |
Message |
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Lion Apprentice
Joined: 23 Jun 2002 Posts: 207
|
Posted: Mon Mar 10, 2008 8:35 pm Post subject: |
|
|
musv wrote: | me wrote: | Unfortunately I got a Kernel Ooops while booting kernel 2.6.24. I guess it's problem with nfs-server. |
Ok, I tried 2.6.24 another time. The Reiser4-patch I got from http://chichkin_i.zelnet.ru/namesys/reiser4-for-2.6.24.patch.gz
Yesterday everything worked fine. But today in the morning some things seemed to be broken. |
I had the same problem after installing 2.6.24
NFS crashed, but the system remained operational.
I could see the same stack trace with dmesg.
After re-emerging nfs-utils, everything is working fine again.
-- edit:
_seemed_ to be working fine.
After some time, again an oops.
I'll apply the patch
Last edited by Lion on Sat Mar 15, 2008 11:33 am; edited 1 time in total |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Mon Mar 10, 2008 11:19 pm Post subject: |
|
|
Edward sent me yesterday a patch for that problem. He sent it also to the reiserfs-Developerlist and to Andrew Morton.
Anywany I didn't find that patch on Edward's homepage until now, so I put it on my webspace. You can get it here for a couple of days:
www.tu-chemnitz.de/~musv/temp/reiser4-new-export_ops-fix.patch
Just patch your already patched kernel source and recompile. |
|
Back to top |
|
|
sharkman n00b
Joined: 27 Apr 2008 Posts: 1 Location: Barnaul, Altai Region, Russian Federation
|
Posted: Sun Apr 27, 2008 11:57 am Post subject: |
|
|
Anyone know: does it work with gentoo-sources-2.6.25-r1 ? _________________ There are only 10 types of people in the world -- those who understand binary, and those who do not. |
|
Back to top |
|
|
unK l33t
Joined: 06 Feb 2007 Posts: 769
|
Posted: Sun Apr 27, 2008 12:00 pm Post subject: |
|
|
Yes, I am using it right now. _________________ ncmpcpp - featureful ncurses based MPD client inspired by ncmpc |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Sun Apr 27, 2008 3:35 pm Post subject: |
|
|
Same here.. I had to hunt around the 'net to build mine.. I ended up copying gentoo-sources-2.6.25-r1 to reiser4-gentoo-sources, modifying it, then digest it.
Here's the ebuild if you want it.. Just dump it to reiser4-gentoo-sources-2.6.25-r1.ebuild:
Code: | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.6.25-r1.ebuild,v 1.5 2008/04/21 20:30:00 ranger Exp $
ETYPE="sources"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="2"
inherit kernel-2
detect_version
detect_arch
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
HOMEPAGE="http://gentoo-wiki.com/HOWTO_Reiser4_With_Gentoo-Sources"
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and the reiser4 patchset from namesys"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-${PV}${R4V}.patch.gz"
UNIPATCH_LIST="${DISTDIR}/reiser4-for-${PV}${R4V}.patch.gz"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
} |
|
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Sun Apr 27, 2008 11:54 pm Post subject: |
|
|
Simba7 wrote: | Same here.. I had to hunt around the 'net to build mine.. |
Or you could have used hitchhiker-sources...
</shameless-plug> _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
cjubon Guru
Joined: 03 Jul 2007 Posts: 450 Location: Vienna/Europe
|
Posted: Mon Apr 28, 2008 10:34 pm Post subject: |
|
|
Howdy mates, can you access http://www.namesys.com/ ? I get a "Server not found". The DNS entries seem to have gone. I'd need 2.6.22-patches for my vserver-sources _________________ Mandrake Dec 2001 · Debian "Woody" Aug 2002 · Gentoo Jan 2004 · Funtoo Oct 2009 |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
|
Back to top |
|
|
cjubon Guru
Joined: 03 Jul 2007 Posts: 450 Location: Vienna/Europe
|
Posted: Wed Apr 30, 2008 6:34 am Post subject: |
|
|
Thank you, kernelOfTruth, thank you yngwin, that was what I needed.
Is there no "official" site for reiserfs and reiser4 stuff right now? _________________ Mandrake Dec 2001 · Debian "Woody" Aug 2002 · Gentoo Jan 2004 · Funtoo Oct 2009 |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Thu May 01, 2008 5:32 am Post subject: |
|
|
..which is what's in my ebuild file.. Took me awhile to track it down.. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
ArneBab Guru
Joined: 24 Jan 2006 Posts: 429 Location: Graben-Neudorf, Germany
|
Posted: Mon Jun 16, 2008 11:18 pm Post subject: |
|
|
Is there a way of doing so without having a usenet account? _________________ Being unpolitical means being political without realizing it. - Arne Babenhauserheide ( http://draketo.de )
pkgcore: So fast that it feels unreal - by doing only what is needed. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
ArneBab Guru
Joined: 24 Jan 2006 Posts: 429 Location: Graben-Neudorf, Germany
|
Posted: Tue Jun 17, 2008 6:35 am Post subject: |
|
|
Thanks!
I just posted there, asking if the public repos are available, now. _________________ Being unpolitical means being political without realizing it. - Arne Babenhauserheide ( http://draketo.de )
pkgcore: So fast that it feels unreal - by doing only what is needed. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Need4Speed Guru
Joined: 06 Jun 2004 Posts: 497
|
Posted: Sat Jun 21, 2008 3:27 pm Post subject: |
|
|
Yes, this is great news!
Maybe now that Hans Reiser is no longer in charge and we have some new people, they'll be to get along better with the kernel developers. It's not too late for reiser4 to make a comeback! |
|
Back to top |
|
|
ArneBab Guru
Joined: 24 Jan 2006 Posts: 429 Location: Graben-Neudorf, Germany
|
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Sat Jun 21, 2008 11:15 pm Post subject: |
|
|
kernelOfTruth wrote: | I just saw: a new potential (additional) reiser4-maintainer is stepping up |
Yeah, this is really good news! _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
Need4Speed Guru
Joined: 06 Jun 2004 Posts: 497
|
Posted: Fri Jul 18, 2008 5:25 pm Post subject: |
|
|
Just tested and the reiser4 2.6.25 patch works fine with the latest gentoo-sources-2.6.26.
Here's an updated ebuild: reiser4-gentoo-sources-2.6.26.ebuild: | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
ETYPE="sources"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="1"
inherit kernel-2
detect_version
detect_arch
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
HOMEPAGE="http://gentoo-wiki.com/HOWTO_Reiser4_With_Gentoo-Sources"
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and the reiser4 patchset from namesys"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.25.patch.gz"
UNIPATCH_LIST="${DISTDIR}/reiser4-for-2.6.25.patch.gz"
pkg_postinst() {
kernel-2_pkg_postinst
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
} |
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Wed Aug 27, 2008 10:17 pm Post subject: |
|
|
there's no reiser4-tuning thread yet only a "would you recommend reiser4" or a "howto reiser4" one so I'll post my best settings (so far) here:
Code: | echo "10" > /proc/sys/vm/page-cluster
# default: 3
#
echo "60" > /proc/sys/vm/swappiness
# default: 60
# By default, Linux will aggressively swap processes out of physical memory onto disk in order to keep the disk cache as large as possible.
# This means that pages that haven't been used recently will be pushed into swap long before the system even comes close to running out of memory, which is an unexpected behavior compared to some operating systems.
# The /proc/sys/vm/swappiness parameter controls how aggressive Linux is in this area.
echo "3000" > /proc/sys/vm/dirty_expire_centisecs
# default: 3000 (30 seconds)
#2 how long data can be in the page cache before it is considered expired and must be written at the next opportunity. Note that this default is very long: a full 30 seconds. That means that under normal circumstances, unless you write enough to trigger the other pdflush method, Linux won't actually commit anything you write until 30 seconds later.
echo "6000" > /proc/sys/vm/dirty_writeback_centisecs
# default: 500 (5 seconds)
#1 how often pdflush wakes up to write data to disk. The default wakes up the two (or more) active threads every five seconds.
# suggestion: 6000 (every 60 seconds)
echo "15" > /proc/sys/vm/dirty_background_ratio
# default: 10
#3 Maximum percentage of active memory that can be filled with dirty pages before pdflush begins to write them
echo "50" > /proc/sys/vm/dirty_ratio #modified
# default: 40
#4 Maximum percentage of total memory that can be filled with dirty pages before processes are forced to write dirty buffers themselves during their time slice instead of being allowed to do more writes.
# modified: 50
echo "25" > /proc/sys/vm/vfs_cache_pressure
for i in /sys/block/sd*; do
/bin/echo "anticipatory" > $i/queue/scheduler
done
for i in /sys/block/sd*; do
/bin/echo "256" > $i/queue/read_ahead_kb
done
for i in /sys/block/sd*; do
/bin/echo "256" > $i/queue/max_sectors_kb
done
for i in /sys/block/sd*; do
/bin/echo "0" > $i/queue/iosched/antic_expire
done
for i in /sys/block/sd*; do
/bin/echo "150" > $i/queue/iosched/read_expire
done
for i in /sys/block/sd*; do
/bin/echo "750" > $i/queue/iosched/read_batch_expire
done
for i in /sys/block/sd*; do
/bin/echo "1200" > $i/queue/iosched/write_batch_expire
done
for i in /sys/block/sd*; do
/bin/echo "1024" > $i/queue/nr_requests
done
for i in /sys/class/scsi_host/host*; do
/bin/echo "max_power" > $i/link_power_management_policy
done
|
those settings helped cutting the time for creating a stage4-tarball from around 53 minutes to 43 minutes -> >20% performance gain / time savings
they are meant for single physical harddrives (on raid-controllers / raid-drives you might need to alter the settings a little bit to get even more performance)
mount every reiser4-partition or reiserfs-partition with -o noatime,nodiratime (yeah, I now noatime includes nodiratime but whatever, just to be 100% sure )
you might also want to tinker with
flush.scan_maxnodes=N
The maximum number of nodes to scan left on a level during flush (default: 10000)
optimal_io_size=N (probably most important for you raid-users out there)
Preferred IO size. This value is used to set st_blksize of struct data (default: 65536)
flush.relocate_threshold=N ( ???)
If flush finds more than N adjacent dirty leaf-level blocks it
will force them to be relocated.
Default is 64.
flush.relocate_distance=N ( ??? )
If flush finds can find a block allocation closer than at most
N from the preceder it will relocate to that position.
Default is 64.
tree.cbk_cache.nr_slots=N (<-- this might be interesting, but needs more info from reiser4-devs, will ask later)
Number of slots in the cbk cache.
tmgr.atom_max_size=N
Atoms containing more than N blocks will be forced to commit.
N is decimal.
Default is nr_free_pagecache_pages() / 2 at mount time.
tmgr.atom_max_age=N (for you laptop-users out there)
Atoms older than N seconds will be forced to commit. N is decimal.
Default is 600.
tmgr.atom_max_flushers=N
Limit of concurrent flushers for one atom. 0 means no limit.
Default is 0. _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Thu Aug 28, 2008 8:35 am Post subject: |
|
|
Very nice, I'll switch to those right away and see if I notice any improvements. Wont those settings quite seriously screw with your latency though? I'm a big fan of ionice during backup operations.
And does /bin/echo "max_power" > $i/link_power_management_policy really help on performance or is that something you are doing for powersaving reasons? Default on my system seems to be max_performance.
And last, any reason you dont do this:
Code: |
for i in /sys/block/sd*; do
#echo "Doing $i"
/bin/echo "anticipatory" > $i/queue/scheduler
/bin/echo "256" > $i/queue/read_ahead_kb
/bin/echo "256" > $i/queue/max_sectors_kb
/bin/echo "0" > $i/queue/iosched/antic_expire
/bin/echo "150" > $i/queue/iosched/read_expire
/bin/echo "750" > $i/queue/iosched/read_batch_expire
/bin/echo "1200" > $i/queue/iosched/write_batch_expire
/bin/echo "1024" > $i/queue/nr_requests
done
|
|
|
Back to top |
|
|
DigitalCorpus Apprentice
Joined: 30 Jul 2007 Posts: 283
|
Posted: Fri Aug 29, 2008 1:43 pm Post subject: |
|
|
Reiser4 is great. Transparent compression on a drive that hdparm -t clocks at 30 MB/sec would also be a great idea. Unfortunately I wish I came across the entirety of this thread sooner. I used the ccreg40 option with gzip as I have a Q6700 so I figured even though it is more overhead than lzo, the system should still be able to handle it. Well it handle's it fine, but at a a snails pace!!!!! IRQ's for my drive are through the roof, and all 4 cores are nicely being utilized on a very slow emerge or 3 packages that shouldn't take more than 2 minutes. It has been 20! Would this be ccreg40's fault in combination with gzip? Would reg40 at gzip be less resource intensive? Never had my GUI or mouse lagging until now.
current load averages ate 15.51, 14.75, 11.03. Wine is the current compiling package with MAKEOPTS="-j8".
Edit: grabbing some breakfast. If any of you wish to check on the current state of my box: clicky clicky |
|
Back to top |
|
|
|