Skip to contentSkip to conversation

New to reiserfs

DISCUSSION Dieter Nützel 4 participants 6 messages May 13, 2002 – May 14, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Hans Reiser
Quoted 4 lines
Quoted 4 lines

4.- I have a PIII 1 GHz, 512 MB RAM, SCSI server where I run sendmail, bind and squid. Will I have problems with performance if I migrate to reiserfs?

sendmail will be lower in performance when using reiserfs unless you use the latest not yet released patches and turned data journaling on.

More speed numbers on this to come with related post.

Quoted 1 line

Do you really push the performance limits of the machine as a mail server?

You mean if it is worth?

Quoted 1 line

squid will benefit from your putting all files in one directory.

So I should clobber my squid partition/dir and reconfigure to put all files into only one directory and let the squid hierarchy alone?

Thanks,
Dieter

Signature · 6 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: [email protected]
#1 lore raw
Quoted 3 lines · Dieter Nützel
Quoted 1 line · Hans Reiser

squid will benefit from your putting all files in one directory.

Hi Hans and all,

Out of curiosity...When did this become true? I haven't tested in some time, but way back in 2.4.0pre days it was very far from reality (all-in-one-dir was about 20-30% slower than the standard default of x/256/256).

I'll be happy to run some Polygraph runs of this...I wasn't aware anything had changed, however. Perhaps someone has a pointer for the relevant changelog entries?

Signature · 3 lines
Joe Cooper <[email protected]>
http://www.swelltech.com
Web Caching Appliances and Support
#2 lore raw
Quoted 5 lines · Joe Cooper
Quoted 1 line · Dieter Nützel

On Monday 13 May 2002 10:07, Hans Reiser wrote:

Quoted 8 lines
Quoted 2 lines
Quoted 1 line

squid will benefit from your putting all files in one directory.

Hi Hans and all,

Out of curiosity...When did this become true? I haven't tested in some time, but way back in 2.4.0pre days it was very far from reality (all-in-one-dir was about 20-30% slower than the standard default of x/256/256).

I'll be happy to run some Polygraph runs of this...I wasn't aware anything had changed, however. Perhaps someone has a pointer for the relevant changelog entries?

Perhaps I misremember, Nikita, please comment.

Hans

#3 lore raw
In reply to Dieter Nützel
Quoted 24 lines · Dieter Nützel
Quoted 9 lines · Hans Reiser
Quoted 6 lines
Quoted 6 lines

4.- I have a PIII 1 GHz, 512 MB RAM, SCSI server where I run sendmail, bind and squid. Will I have problems with performance if I migrate to reiserfs?

sendmail will be lower in performance when using reiserfs unless you use the latest not yet released patches and turned data journaling on.

More speed numbers on this to come with related post.

Quoted 3 lines

Do you really push the performance limits of the machine as a mail server?

You mean if it is worth?

Quoted 11 lines
Quoted 3 lines

squid will benefit from your putting all files in one directory.

So I should clobber my squid partition/dir and reconfigure to put all files into only one directory and let the squid hierarchy alone?

Thanks,
Dieter

I don't understand you.

You should put squid into one big directory (not using their kludge that avoids making directories too large by using a tree) unless you have multiple processors (in which case the VFS directory giant lock will hurt you).

Hans

#4 lore raw
Quoted 9 lines · Hans Reiser
Quoted 8 lines · Dieter Nützel
Quoted 6 lines · Hans Reiser
Quoted 3 lines
Quoted 3 lines

4.- I have a PIII 1 GHz, 512 MB RAM, SCSI server where I run sendmail, bind and squid. Will I have problems with performance if I migrate to reiserfs?

sendmail will be lower in performance when using reiserfs unless you use the latest not yet released patches and turned data journaling on.

Quoted 6 lines
Quoted 6 lines

More speed numbers on this to come with related post.

Quoted 2 lines

Do you really push the performance limits of the machine as a mail server?

You mean if it is worth?

Here I don't understand you that's why I asking.

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

squid will benefit from your putting all files in one directory.

So I should clobber my squid partition/dir and reconfigure to put all files into only one directory and let the squid hierarchy alone?

Quoted 7 lines
Quoted 2 lines

Thanks,
Dieter

I don't understand you.

You should put squid into one big directory (not using their kludge that avoids making directories too large by using a tree)

So you understand me right...;-)

Quoted 2 lines

unless you have multiple processors (in which case the VFS directory giant lock will hurt you).

BKL?

Where is the limit 2, 4, or even more CPUs?
I'll have two in some days.

Thanks,
Dieter

PS You know that I'm on the preemption+lock-break, O(1)-scheduler track...;-)

#5 lore raw
Quoted 6 lines · Dieter Nützel
Quoted 3 lines

You should put squid into one big directory (not using their kludge that avoids making directories too large by using a tree)

So you understand me right...;-)

Quoted 7 lines
Quoted 2 lines

unless you have multiple processors (in which case the VFS directory giant lock will hurt you).

BKL?

Where is the limit 2, 4, or even more CPUs?
I'll have two in some days.

You probably want one directory per squid process. The VFS layer does semaphore locking to prevent races between people reading the directory and people changing the directory. If you've just got one big directory, all the squid processes will end up waiting on each other.

More directories mean more time wasted changing the directory stat data, and ram wasted on reading the stat data. You see this more with hundreds or thousands of directories.

-chris