Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reiser4 with compression... any opinions?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Mar 24, 2011 4:42 am    Post subject: reiser4 with compression... any opinions? Reply with quote

Although I will be using it on my rootfs only, are there any data reliability issues with reiser4 with compression using
-o create=ccreg40,compress=gzip1,compressMode=force
?
_________________
My blog
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Thu Mar 24, 2011 5:32 am    Post subject: Reply with quote

If compressMode=force does what I think it does, I expect that you can expect performance issues, but aside from that, I don't know.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu Mar 24, 2011 9:22 am    Post subject: Reply with quote

Moved from Gentoo Chat to Unsupported Software as reiser4 is not supported.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Thu Mar 24, 2011 10:34 am    Post subject: Reply with quote

Shining Arcanine wrote:
If compressMode=force does what I think it does, I expect that you can expect performance issues, but aside from that, I don't know.


Performance should be a lot better.
_________________
My blog
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Thu Mar 24, 2011 2:57 pm    Post subject: Reply with quote

Yeah right, better :D
Depends on your data.

So compress=force will try to compress all your already compressed files, so imagine how fast would be to compress 700MB .avi with gzip or all your distfiles....:D

R4 has pretty fine heuristics for detecting compressible files, so I use R4+CC for my /,/home,/usr/portage, but for my /media I use plain R4.

As for data reliability with these special options you asked, I think it will be the same as usual R4, people use those settings.
_________________
Reiser4 Gentoo FAQ [25Dec2016]
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


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

PostPosted: Thu Mar 24, 2011 3:29 pm    Post subject: Reply with quote

take a look at DigitalCorpus' post

and the thread where it's in

that hopefully should give you enough information :)
_________________
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
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Mar 25, 2011 9:22 am    Post subject: Reply with quote

dusanc wrote:
Yeah right, better :D
...
So compress=force will try to compress all your already compressed files, so imagine how fast would be to compress 700MB .avi with gzip or all your distfiles....:D
...


I know that, that's why I said I'll be doing it on my rootfs only.

@kernelOfTruth

Thanks for the info.
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Mar 25, 2011 11:41 am    Post subject: Reply with quote

Apparently the patch fails. make -

Code:
include/linux/fs.h:2196:12: note: expected 'unsigned int' but argument is of type 'void *'
fs/reiser4/plugin/inode_ops.c:428:2: error: too few arguments to function 'generic_permission'
include/linux/fs.h:2196:12: note: declared here
fs/reiser4/plugin/inode_ops.c:429:1: warning: control reaches end of non-void function
make[2]: *** [fs/reiser4/plugin/inode_ops.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2


With 3.6.38
_________________
My blog
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Fri Mar 25, 2011 11:53 am    Post subject: Reply with quote

Latest is for .37
_________________
Reiser4 Gentoo FAQ [25Dec2016]
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Fri Mar 25, 2011 2:12 pm    Post subject: Reply with quote

dusanc wrote:
Latest is for .37


Yeah, that did it.
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sat Apr 02, 2011 7:33 am    Post subject: Reply with quote

Compressed reiser4 has a major issue -- it takes the same time to delete files as it takes to copy them. Anyone knows about this?
_________________
My blog
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Sat Apr 02, 2011 3:12 pm    Post subject: Reply with quote

Yeah, the famous long delete times.

Short answer: Every FS has it's architecture optimized for some usage scenario. Reiser4 sacrifices delete time for some other optimizations in cryptocompress mode. There's more info in m-l archives probably


Edit: Yeah that's A7 in Reiser4 FAQ :D
_________________
Reiser4 Gentoo FAQ [25Dec2016]
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Apr 03, 2011 4:18 am    Post subject: Reply with quote

Appears reiser4 compresses files in fragments... that's why.

I hope this doesn't impact performance of small file deletion.
_________________
My blog
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Sun Apr 03, 2011 6:43 am    Post subject: Reply with quote

Ofc it compresses blocks :D
_________________
Reiser4 Gentoo FAQ [25Dec2016]
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Apr 03, 2011 9:23 am    Post subject: Reply with quote

dusanc wrote:
Ofc it compresses blocks :D


Yeah, blocks -- files in fragments. :wink:
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Apr 03, 2011 10:58 am    Post subject: Reply with quote

Yup, there's a performance penalty even in deleting small files -- it's takes 4 times more time.
_________________
My blog
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Sun Apr 24, 2011 5:44 am    Post subject: Reply with quote

Any one of you having a kernel crash with -

"kernel bug at fs/reiser4/txmgre.c:1116!"

Happens rarely. No wonder reiser4 is not in the mail tree.
_________________
My blog
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
Page 1 of 1

 
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