Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Reiser4 for gentoo-sources
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13, 14  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Mar 01, 2008 11:30 am    Post subject: Reply with quote

yngwin wrote:
For all you peeps there is now hitchhiker-sources in berkano overlay (available via layman). It is simply gentoo-sources with added reiser4 and udf-2.50 patches.


thanks :)
_________________
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 :D
Back to top
View user's profile Send private message
Lion
Apprentice
Apprentice


Joined: 23 Jun 2002
Posts: 207

PostPosted: Mon Mar 10, 2008 8:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Mar 10, 2008 11:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
sharkman
n00b
n00b


Joined: 27 Apr 2008
Posts: 1
Location: Barnaul, Altai Region, Russian Federation

PostPosted: Sun Apr 27, 2008 11:57 am    Post subject: Reply with quote

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
View user's profile Send private message
unK
l33t
l33t


Joined: 06 Feb 2007
Posts: 769

PostPosted: Sun Apr 27, 2008 12:00 pm    Post subject: Reply with quote

Yes, I am using it right now.
_________________
ncmpcpp - featureful ncurses based MPD client inspired by ncmpc
Back to top
View user's profile Send private message
Simba7
l33t
l33t


Joined: 22 Jan 2007
Posts: 706
Location: Billings, MT, USA

PostPosted: Sun Apr 27, 2008 3:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun Apr 27, 2008 11:54 pm    Post subject: Reply with quote

Simba7 wrote:
Same here.. I had to hunt around the 'net to build mine..

Or you could have used hitchhiker-sources... :wink:
</shameless-plug>
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
cjubon
Guru
Guru


Joined: 03 Jul 2007
Posts: 450
Location: Vienna/Europe

PostPosted: Mon Apr 28, 2008 10:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Apr 28, 2008 10:55 pm    Post subject: Reply with quote

cjubon wrote:
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 :?


reiser4-for-2.6.22-2.patch.gz ?

http://rapidshare.com/files/111147355/reiser4-for-2.6.22-2.patch.gz

you're lucky - I once already wanted to delete that old stuff :wink:
_________________
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 :D
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Mon Apr 28, 2008 10:56 pm    Post subject: Reply with quote

cjubon wrote:
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 :?

That site has been down for months. I have a copy of the 2.6.22 patch here:
http://dl.liveforge.org/ragnarok-sources/2.6.22/broken-out/reiser4-2.6.22.patch
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
cjubon
Guru
Guru


Joined: 03 Jul 2007
Posts: 450
Location: Vienna/Europe

PostPosted: Wed Apr 30, 2008 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Wed Apr 30, 2008 5:19 pm    Post subject: Reply with quote

cjubon wrote:
Is there no "official" site for reiserfs and reiser4 stuff right now?

I guess the closest to anything official is:
http://www.kernel.org/pub/linux/kernel/people/edward/
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
Simba7
l33t
l33t


Joined: 22 Jan 2007
Posts: 706
Location: Billings, MT, USA

PostPosted: Thu May 01, 2008 5:32 am    Post subject: Reply with quote

..which is what's in my ebuild file.. Took me awhile to track it down..
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Jun 16, 2008 10:48 pm    Post subject: Reply with quote

if you want to keep reiser4 alive, don't forget to remember Edward Shishkin to put/move the reiser4 repository to http://www.kernel.org/pub/scm/ that way the community can keep on working on it
:

Quote:
>Great news. Now there is an 'official' place to go for these.
>Just a question, any plans on having a public source code repository
>for reiser*progs and/or the reiser4 patchset?
>
>

Yes, I think it makes sense to move namesys git repos to
http://www.kernel.org/pub/scm/
and, perhaps, we'll do so, as soon they are available..

Thanks,
Edward.


http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21480/focus=21501
_________________
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 :D
Back to top
View user's profile Send private message
ArneBab
Guru
Guru


Joined: 24 Jan 2006
Posts: 429
Location: Graben-Neudorf, Germany

PostPosted: Mon Jun 16, 2008 11:18 pm    Post subject: Reply with quote

kernelOfTruth wrote:
if you want to keep reiser4 alive, don't forget to remember Edward Shishkin to put/move the reiser4 repository to http://www.kernel.org/pub/scm/ that way the community can keep on working on it
:
http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21480/focus=21501


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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Jun 17, 2008 12:11 am    Post subject: Reply with quote

ArneBab wrote:
kernelOfTruth wrote:
if you want to keep reiser4 alive, don't forget to remember Edward Shishkin to put/move the reiser4 repository to http://www.kernel.org/pub/scm/ that way the community can keep on working on it
:
http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21480/focus=21501


Is there a way of doing so without having a usenet account?


sure !

just use the post-feature (button on the right upper side) and write to the news-group (it's kind of a mailing list like lkml), therefore you don't really need a usenet reader

here's the general view: http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/
_________________
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 :D
Back to top
View user's profile Send private message
ArneBab
Guru
Guru


Joined: 24 Jan 2006
Posts: 429
Location: Graben-Neudorf, Germany

PostPosted: Tue Jun 17, 2008 6:35 am    Post subject: Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 21, 2008 1:40 pm    Post subject: Reply with quote

ArneBab wrote:
Thanks!

I just posted there, asking if the public repos are available, now.


thanks to you :)

I just saw: a new potential (additional) reiser4-maintainer is stepping up :idea:

kudos to J. Todd Slack :)

http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21581
_________________
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 :D
Back to top
View user's profile Send private message
Need4Speed
Guru
Guru


Joined: 06 Jun 2004
Posts: 497

PostPosted: Sat Jun 21, 2008 3:27 pm    Post subject: Reply with quote

kernelOfTruth wrote:

I just saw: a new potential (additional) reiser4-maintainer is stepping up :idea:

kudos to J. Todd Slack :)

http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21581


Yes, this is great news! :P

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! :D
Back to top
View user's profile Send private message
ArneBab
Guru
Guru


Joined: 24 Jan 2006
Posts: 429
Location: Graben-Neudorf, Germany

PostPosted: Sat Jun 21, 2008 4:45 pm    Post subject: Reply with quote

It seems that everything is in the -mm sources at the moment:

- http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21480/focus=21501
_________________
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
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sat Jun 21, 2008 11:15 pm    Post subject: Reply with quote

kernelOfTruth wrote:
I just saw: a new potential (additional) reiser4-maintainer is stepping up :idea:

Yeah, this is really good news! 8)
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
Need4Speed
Guru
Guru


Joined: 06 Jun 2004
Posts: 497

PostPosted: Fri Jul 18, 2008 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Wed Aug 27, 2008 10:17 pm    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Thu Aug 28, 2008 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
DigitalCorpus
Apprentice
Apprentice


Joined: 30 Jul 2007
Posts: 283

PostPosted: Fri Aug 29, 2008 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 11, 12, 13, 14  Next
Page 12 of 14

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum