Skip to contentSkip to conversation

Hi Reiserfs-dev

DISCUSSION Steven 4 participants 6 messages Aug 27, 2008 – Sep 1, 2008

lore
Share & tools
lore

Steven

author
#0 lore raw

Been using Reiser 3 for years now, messing round with m-multiple operating systems. Imho, it's easily the best general purpose linux filesystem. Does anyone here say otherwise ?

I went through the hassle of installing reiser 4 on 2.6.24 about a year ago, but it seemed to have latency issues, esp. at start-up (fedora 4, 1.13 PIII dell laptop with 256ram) and reverted back to reiser 3. Ideas ?

Thanks, Steven.

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 10 lines · Steven

Been using Reiser 3 for years now, messing round with m-multiple operating systems. Imho, it's easily the best general purpose linux filesystem. Does anyone here say otherwise ?

I went through the hassle of installing reiser 4 on 2.6.24 about a year ago, but it seemed to have latency issues, esp. at start-up (fedora 4, 1.13 PIII dell laptop with 256ram) and reverted back to reiser 3. Ideas?

Thanks, Steven.

I've been running Reiser4 on my laptop as / for a long time now. I have two bits of advice.

Make sure it mounts at boot with the noatime option. Something like "rootflags=noatime" on your LILO or GRUB kernel options line.

Have your init scripts set the queue depth on your block IO scheduler to 1024. Something like "echo 1024 > /sys/block/sda/queue/nr_requests". With just 256 MB you might want to try smaller values. I'm not very clear on how much RAM each queue slot can use.

I found that Reiser4 will appear to hang if it cannot flush an entire transaction atom to the IO queue in one go. Make sure it's big enough.

The other thing that seems to make it a little slow is that it uses barriers. This is a Linux feature that serious filesystems use to guarantee data integrity. ext3 uses barriers for its journal and XFS uses barriers too. I believe there were patches for reiser3 to use barriers too but I don't know if those are in all Linux or just SUSE.

As I understand it, on an IDE drive, a barrier is pretty slow because it forces a full write queue flush, does the write, then flushes the queue *again* before continuing. On a real SCSI device with tagged queuing this works much more quickly because it can continue to issue disk commands after the barrier.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki0o8gACgkQolqWs/Y4NLy9MgCgh3v5mB4uLx673JT1sz6dgJyA 1XEAni0AZxC6DokBQQ+sDu18qbzxP0s5
=K2Cy
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 23 lines · Zan Lynx
Quoted 10 lines · Steven

Been using Reiser 3 for years now, messing round with m-multiple operating systems. Imho, it's easily the best general purpose linux filesystem. Does anyone here say otherwise ?

I went through the hassle of installing reiser 4 on 2.6.24 about a year ago, but it seemed to have latency issues, esp. at start-up (fedora 4, 1.13 PIII dell laptop with 256ram) and reverted back to reiser 3. Ideas?

Thanks, Steven.

I've been running Reiser4 on my laptop as / for a long time now. I have two bits of advice.

Make sure it mounts at boot with the noatime option. Something like "rootflags=noatime" on your LILO or GRUB kernel options line.

Have your init scripts set the queue depth on your block IO scheduler to 1024. Something like "echo 1024 > /sys/block/sda/queue/nr_requests". With just 256 MB you might want to try smaller values. I'm not very clear on how much RAM each queue slot can use.

Quoted 8 lines

I found that Reiser4 will appear to hang if it cannot flush an entire transaction atom to the IO queue in one go. Make sure it's big enough.

The other thing that seems to make it a little slow is that it uses barriers. This is a Linux feature that serious filesystems use to guarantee data integrity. ext3 uses barriers for its journal and XFS uses barriers too. I believe there were patches for reiser3 to use barriers too but I don't know if those are in all Linux or just SUSE.

reiserfs uses barriers for ages. Xfs and reiserfs use barriers by default. ext3 does not use barriers by default. Because of the performance hit.

Every 'benchmark' that does not enable or disable barriers is skewed in ext3's advantage. With barriers turned on for all filesystems ext3 is very slow.

author
#3 lore raw

Thanks for the replies :) Thats the first time i've heard about barriers.

I've always used noatime.. so thats no the issue. (I recently learnt to disable the dodgy Fedora readahead service too, and can't remember if i knew about this back then). Part of the problem is Reiser3 is so damn good (speed and robustness), and even FreeBSD has RO support nowadays, it's going to be hard to change even though reiser4's tail packing always got me excited.

Quoted 73 lines · Volker Armin Hemmann

From: Volker Armin Hemmann <[email protected]>
Subject: Re: Hi Reiserfs-dev
To: [email protected]
Date: Wednesday, August 27, 2008, 2:48 PM

Quoted 2 lines · Zan Lynx
Quoted 1 line · Steven

Been using Reiser 3 for years now, messing round

with m-multiple

Quoted 1 line
Quoted 1 line

operating systems. Imho, it's easily the best

general purpose linux

Quoted 3 lines
Quoted 3 lines

filesystem. Does anyone here say otherwise ?

I went through the hassle of installing reiser 4

on 2.6.24 about a

Quoted 1 line
Quoted 1 line

year ago, but it seemed to have latency issues,

esp. at start-up

Quoted 1 line
Quoted 1 line

(fedora 4, 1.13 PIII dell laptop with 256ram) and

reverted back to

Quoted 5 lines
Quoted 3 lines

reiser 3. Ideas?

Thanks, Steven.

I've been running Reiser4 on my laptop as / for a

long time now. I have

Quoted 3 lines

two bits of advice.

Make sure it mounts at boot with the noatime option.

Something like

Quoted 1 line

"rootflags=noatime" on your LILO or GRUB

kernel options line.

Quoted 2 lines

Have your init scripts set the queue depth on your

block IO scheduler to

Quoted 1 line

1024. Something like "echo 1024 >

/sys/block/sda/queue/nr_requests".

Quoted 1 line

With just 256 MB you might want to try smaller values.

I'm not very

Quoted 3 lines

clear on how much RAM each queue slot can use.

I found that Reiser4 will appear to hang if it cannot

flush an entire

Quoted 1 line

transaction atom to the IO queue in one go. Make sure

it's big enough.

Quoted 2 lines

The other thing that seems to make it a little slow is

that it uses

Quoted 1 line

barriers. This is a Linux feature that serious

filesystems use to

Quoted 1 line

guarantee data integrity. ext3 uses barriers for its

journal and XFS

Quoted 1 line

uses barriers too. I believe there were patches for

reiser3 to use

Quoted 1 line

barriers too but I don't know if those are in all

Linux or just SUSE.

reiserfs uses barriers for ages. Xfs and reiserfs use barriers by default.
ext3 does not use barriers by default. Because of the performance hit.

Every 'benchmark' that does not enable or disable barriers is skewed in ext3's
advantage. With barriers turned on for all filesystems ext3 is very slow.

--
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

#4 lore raw
Quoted 5 lines · Steven

Thanks for the replies :) Thats the first time i've heard about barriers.

I've always used noatime.. so thats no the issue. (I recently learnt to disable the dodgy Fedora readahead service too, and can't remember if i knew about this back then). Part of the problem is Reiser3 is so damn good (speed and robustness), and even FreeBSD has RO support nowadays, it's going to be hard to change even though reiser4's tail packing always got me excited.

Actually, tail _conversion_ (not packing).

Working around dirty polymorphisms in the ITEM interface (a file built of tails can not be mmap-ed with flags VM_MAYWRITE | VM_SHARED) plus working around deadlock issues make its implementation very complex.

So I would prefer reiser4 to go to mainline without tail stuff. However it will require to fork the stuff for people who are not ready to reformat their partitions, and it is not good, because somebody should take care of the second branch. Any ideas?

Edward.

Quoted 121 lines
Quoted 102 lines · Volker Armin Hemmann

From: Volker Armin Hemmann <[email protected]>
Subject: Re: Hi Reiserfs-dev
To: [email protected]
Date: Wednesday, August 27, 2008, 2:48 PM

Quoted 4 lines · Zan Lynx
Quoted 2 lines · Steven

Been using Reiser 3 for years now, messing round

with m-multiple

Quoted 2 lines
Quoted 2 lines

operating systems. Imho, it's easily the best

general purpose linux

Quoted 4 lines
Quoted 4 lines

filesystem. Does anyone here say otherwise ?

I went through the hassle of installing reiser 4

on 2.6.24 about a

Quoted 2 lines
Quoted 2 lines

year ago, but it seemed to have latency issues,

esp. at start-up

Quoted 2 lines
Quoted 2 lines

(fedora 4, 1.13 PIII dell laptop with 256ram) and

reverted back to

Quoted 6 lines
Quoted 4 lines

reiser 3. Ideas?

Thanks, Steven.

I've been running Reiser4 on my laptop as / for a

long time now. I have

Quoted 4 lines

two bits of advice.

Make sure it mounts at boot with the noatime option.

Something like

Quoted 2 lines

"rootflags=noatime" on your LILO or GRUB

kernel options line.

Quoted 2 lines

Have your init scripts set the queue depth on your

block IO scheduler to

Quoted 2 lines

1024. Something like "echo 1024 >

/sys/block/sda/queue/nr_requests".

Quoted 2 lines

With just 256 MB you might want to try smaller values.

I'm not very

Quoted 4 lines

clear on how much RAM each queue slot can use.

I found that Reiser4 will appear to hang if it cannot

flush an entire

Quoted 2 lines

transaction atom to the IO queue in one go. Make sure

it's big enough.

Quoted 2 lines

The other thing that seems to make it a little slow is

that it uses

Quoted 2 lines

barriers. This is a Linux feature that serious

filesystems use to

Quoted 2 lines

guarantee data integrity. ext3 uses barriers for its

journal and XFS

Quoted 2 lines

uses barriers too. I believe there were patches for

reiser3 to use

Quoted 2 lines

barriers too but I don't know if those are in all

Linux or just SUSE.

reiserfs uses barriers for ages. Xfs and reiserfs use barriers by default.
ext3 does not use barriers by default. Because of the performance hit.

Every 'benchmark' that does not enable or disable barriers is skewed in ext3's
advantage. With barriers turned on for all filesystems ext3 is very slow.

Quoted 7 lines

--
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

author
#5 lore raw
In reply to Zan Lynx
Quoted 2 lines
Quoted 1 line

even though reiser4's tail packing always got me excited.

Actually, tail _conversion_ (not packing).

Is this correct ? - R3 has tail packing , and tail coversion is one of the major new features in R4. What is "tail conversion" ?

Quoted 5 lines

As I understand it, on an IDE drive, a barrier is pretty slow because it forces a full write queue flush, does the write, then flushes the queue *again* before continuing. On a real SCSI device with tagged queuing this works much more quickly because it can continue to issue disk

Looking briefly at the 2.6.24 doco and my dmesgs, it's not obvious if barriers are used by default. Is it be advisable to mess around with barriers=0 on a sata drive (/dev/sda). Are sata drivers totally different to ide and real scsi ?

Steven

------------------------

[ I can't find much stats in /proc. For reference, here's dmesg:

scsi0 : sata_via
scsi1 : sata_via
ata1: SATA max UDMA/133 cmd 0x9800 ctl 0x9c00 bmdma 0xa800 irq 11
ata2: SATA max UDMA/133 cmd 0xa000 ctl 0xa400 bmdma 0xa808 irq 11
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: HPA detected: current 976771055, native 976773168
ata1.00: ATA-7: SAMSUNG HD502IJ, 1AA01109, max UDMA7
ata1.00: 976771055 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
ata2: SATA link down 1.5 Gbps (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access ATA SAMSUNG HD502IJ
1AA0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 976771055 512-byte hardware sectors (500107 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 976771055 512-byte hardware sectors (500107 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 > sda4
sda4: <bsd: sda9 sda10 >
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0

My mobo is a k8vm800m (VIA K8M800 Chipset. VIA VT8237 Chipset). ]