lkml.org 
[lkml]   [2004]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Using compression before encryption in device-mapper
On Wed, 14 April 2004 08:54:56 +0200, Guillaume Lacôte wrote:
> Le Mardi 13 Avril 2004 19:45, Jörn Engel a écrit :
>
> Thank you, I didn't know about Jffs2; however I believe it is not an
> implemendation at the device level as I would like.

Correct.

> Since space efficiency is _not_ my aim I plan to forcibly allocate 3 physical
> blocks for every 2 "compressed" blocks (as it should (?) always fit with a
> dynamic Huffman encoding).
>
> [...]
>
> Oops ! I thought it was possible to guarantee with the Huffman encoding (which
> is more basic than Lempev-Zif) that the compressed data use no more than 1
> bit for every byte (i.e. 12,5% more space).

Makes sense, although I'd like to see the proof first. Shouldn't be
too hard to do.

> > Performance should not be a big issue, as encryption is a performance
> > killer anyway.
> I am not sure that this is good news ;)

Is it news? ;)

> > Again, depends on the user. But from experience, there are plenty of
> > users who want something like this.
> Unfortunately I failed to find substantial code/documentation on encryption
> plugin for Reiser4, for example. Do you know about some ?

My interest in reiserfs has ceised some time ago. Have you asked
their list? <reiserfs-list@namesys.com>

Jörn

--
Victory in war is not repetitious.
-- Sun Tzu
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.121 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site