


Using 2.6.31-zen1..unK wrote:what kernel do you use? I once had such behaviour with zen-sources.seqizz wrote:i don't know why this is happening, but since i've started to using reiser4 for my root folder (/) , i'm taking some lockups when using resources heavily. Also i made a change on fs (e.g edit a file) and after one reboot, it's turning back to old one, like i've never touched the file.. (wtf?) i think i should change my mount options, btw i'm using KernelOfTruth's last recipe..

seriously, stay away from that. Reiser4 in mmotm is broken. They use reiser4 from mmotm. Use vanilla-sources, patch them with reiser4-for-2.6.30 and you won't have any problems.seqizz wrote:Using 2.6.31-zen1..unK wrote:what kernel do you use? I once had such behaviour with zen-sources.seqizz wrote:i don't know why this is happening, but since i've started to using reiser4 for my root folder (/) , i'm taking some lockups when using resources heavily. Also i made a change on fs (e.g edit a file) and after one reboot, it's turning back to old one, like i've never touched the file.. (wtf?) i think i should change my mount options, btw i'm using KernelOfTruth's last recipe..
This is a Good Thing. You don't get so lucky when ext4 crashes, it eats your files and you get a zero-byte .bash_history (hope you don't get a crash after reinstalling glibc!). ext4's behaviour is technically acceptable according to POSIX (and xfs also does it), but you can probably agree it's a really idiotic thing to do to 99% of users.seqizz wrote:Also i made a change on fs (e.g edit a file) and after one reboot, it's turning back to old one, like i've never touched the file.. (wtf?)

Code: Select all
echo 1 > /proc/sys/vm/drop_caches


Code: Select all
fsck.reiser4 -y --fix --build-fs --build-sb
File could be 1 byte or 100MB, it makes no difference (I just tested with a 0 byte file with nothing in it; same result).I should note that the drive is a 8GB Sandisk Ultra II SDHC card, and is in an Acer Aspire One netbook, which uses an Intel Atom N270 @ 1.6ghz.Write speed is 16-19 MB/s when copying a file from an ext2 fs to the r4-lzo filesystem.I don't have any other drives to test with, but copying data from the ext2 fs to the same ext2 fs, results in a write speed of 26.9 MB/s.So there is a performance hit, but it shouldn't be enough to cause these symptoms.DigitalCorpus wrote:run a check on your R4 partitionJust make sure you tack on the /dev path to your unmounted partition. That shouldn't be happening. I've not experienced delays like that. Can you give us more information like the size of the file and your mount options?Code: Select all
fsck.reiser4 -y --fix --build-fs --build-sb


Is there a benchmark for random writes? I'd like to see if it's a general system issue, or just a problem with vim, as nano saving instantly is still giving me pause.Perhaps vim's heaviness is the problem, maybe there are some tweaks to help it perform better?DigitalCorpus wrote:I would venture to guess since you're writing to flash media, that is then your problem
normal flash memory use in USB sticks responds extrememly poorly to random reads and write. Even sequential reads and writes that are close to cluster size. Reiser4 is a journaled filesystem. this means before or while data is being written, the journal is being written to as well. journal transactions are tiny. you should only be using ext2 or btrfs w/ ssd mount option, or another flash-specific file system on that memory card.
And what about the home partition?kernelOfTruth wrote: best reiser4-partition creating options are so far:
mkfs.reiser4 -o create=ccreg40,compress=gzip1,compressMode=ultim,cluster=8K,fibration=lexic_fibre,formatting=smart for /usr/portage
and
mkfs.reiser4 -o create=ccreg40,compress=gzip1,compressMode=ultim,cluster=8K,formatting=smart (without the lexic ordering) for / (root / or system how you like to call it)
mount-options are so far:
noatime,nodiratime,tree.cbk_cache.nr_slots=48 (you might need to lower tree.cbk_cache.nr_slots to 24 or 32 if you have low memory, dunno right now how memory usage depends on it)


++DigitalCorpus wrote:Use something other than reiser4 for your home partition is you have already compressed content since the data will not compress further

I just tried out Btrfs with compress and ssd mount options enabled, and vim now saves at a reasonable speed (around 1 sec).Space usage is about the same as reiser4+lzo although I expect cpu usage will probably be higher with zlib.DigitalCorpus wrote:I would venture to guess since you're writing to flash media, that is then your problem
normal flash memory use in USB sticks responds extrememly poorly to random reads and write. Even sequential reads and writes that are close to cluster size. Reiser4 is a journaled filesystem. this means before or while data is being written, the journal is being written to as well. journal transactions are tiny. you should only be using ext2 or btrfs w/ ssd mount option, or another flash-specific file system on that memory card.


I'm doing daily backups, so I'm not too worried.HecHacker1 wrote:Just as a warning, I wouldn't use btrfs yet. It is absolutely not stable and still randomly segfaults. Basically the devs have only started on working on all the edge cases and problems.
Ofcourse you tested all filesystems on same partition?HecHacker1 wrote:...
Right now I'm trying to decide between reiserfs/ext4/xfs/ and reiser4/w lzo compression.
So I am actually going to copy my / partiton to each filesystem and compare. This is on a laptop, 320GB disk split into 8 partitons. 5400rpm.
...


your best bet is to start from the following topic:Dont Panic wrote:What are the current solutions for Reiser4 for the 2.6.32 kernel.
I see where Edward Shishkin has a brief comment that the reiser4 in the zen-sources 2.6.32 kernel may not work correctly.
http://kerneltrap.org/mailarchive/reise ... 703/thread
At any rate, I am having a hard time finding a stable configuration for a zen-sources kernel.
Are there other options?

