Re: [squid-users] Reiser vs etx4

2013-09-04 Thread Alex Rousskov
On 09/04/2013 04:35 AM, Alfredo Rezinovsky wrote:
> In the page reccomends reiserfs. So I tried to set up a squid for
> 200Mbps squid using reiser and squid 3.3
> 
> I had a problem, every five to ten minutes, the system freezes and the
> bandwith drops to a half for about 10 seconds.

Yes, this is typical for either untuned or overloaded ext2 and ext4 file
systems as well.


> I tried tuning squid in many ways. And I noticed reiser flushes the
> buffers all at a time, freezing the I/O, I suppose even the network I/O.

Yes. AFAIK, _any_ Linux process might be frozen indiscriminately when fs
is running behind its flushing schedule.


> The solution was to reformart the cache disks using ext4 (noatime an
> so). Now the proxy runs smoothly.

In our tests, it was easier to configure ext2 to do the right thing with
respect to flushing than ext4, but we were not using ufs-based
cache_dirs and YMMV.

Also, if you are using ufs-based cache_dirs then you are likely to start
seeing similar overload/flushing effects if your Squid load increases.
Besides fs tuning (to avoid excessive accumulation of unflushed data),
the key is in limiting disk traffic, which ufs-based cache_dirs cannot
do (yet?). On the other hand, ufs-based systems are not meant for
performance-sensitive environments anyway :-).


Cheers,

Alex.



Re: [squid-users] Reiser vs etx4

2013-09-04 Thread Eliezer Croitoru
Hey there,

On 09/04/2013 01:35 PM, Alfredo Rezinovsky wrote:
> In the page reccomends reiserfs. So I tried to set up a squid for
> 200Mbps squid using reiser and squid 3.3
> 
Since squid works in L1 and L2 directories the design meant for every FS
that has limits which reiser has a limit on your specific setup and
maybe some others.

> I had a problem, every five to ten minutes, the system freezes and the
> bandwith drops to a half for about 10 seconds.
If you can send more details on the problem you encountered it will be a
benefit while comparing extX to reiser FS.
> 
> I tried tuning squid in many ways. And I noticed reiser flushes the
> buffers all at a time, freezing the I/O, I suppose even the network I/O.
> The solution was to reformart the cache disks using ext4 (noatime an
> so). Now the proxy runs smoothly.
Squid cannot do a thing in the kernel land and I/O from my experience
should be the OS and not the application level.
> 
> I know there should be a reason for recomending reiser in the 1st place
> but I had very bad experience with it.
We cannot ask the one that recommended it? or maybe yes?
> 
> Also... I know people leaving linux in favor of BSD to be able to use
> zfs. Anyone knows the status and usability of zfs in linux ?
Well maybe small groups of people do "leave" or "try" zfs but since
enterprise class storage is the real issue and I have not seen yet a BSD
vendor like RH I would be happy to see this kind of vendor..

Eliezer
> 
> -- 
> Alfrenovsky



Re: [squid-users] Reiser vs etx4

2013-09-04 Thread Helmut Hullen
Hallo, Alfredo,

Du meintest am 04.09.13:

> In the page reccomends reiserfs. So I tried to set up a squid for
> 200Mbps squid using reiser and squid 3.3

For the squid cache? Strange.
That's a cache, no archive. Journalling shouldn't be necessary.

Viele Gruesse!
Helmut


Re: [squid-users] Reiser vs etx4

2013-09-04 Thread Antony Stone
On Wednesday 04 September 2013 at 12:35:50, Alfredo Rezinovsky wrote:

> I know people leaving linux in favor of BSD to be able to use
> zfs. Anyone knows the status and usability of zfs in linux ?

It's a licensing thing, not a technical one.  ZFS works fine on Linux, but its 
licence is incompatible with GPL, therefore it's not included in any standard 
distros.

You can easily add it to your own system afterwards, though - for example see 
http://zfsonlinux.org/


Antony.

-- 
Users don't know what they want until they see what they get.

 Please reply to the list;
   please don't CC me.


[squid-users] Reiser vs etx4

2013-09-04 Thread Alfredo Rezinovsky
In the page reccomends reiserfs. So I tried to set up a squid for 
200Mbps squid using reiser and squid 3.3


I had a problem, every five to ten minutes, the system freezes and the 
bandwith drops to a half for about 10 seconds.


I tried tuning squid in many ways. And I noticed reiser flushes the 
buffers all at a time, freezing the I/O, I suppose even the network I/O. 
The solution was to reformart the cache disks using ext4 (noatime an 
so). Now the proxy runs smoothly.


I know there should be a reason for recomending reiser in the 1st place 
but I had very bad experience with it.


Also... I know people leaving linux in favor of BSD to be able to use 
zfs. Anyone knows the status and usability of zfs in linux ?


--
Alfrenovsky