lkml.org 
[lkml]   [2007]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: WANTED: kernel projects for CS students
From
On Mon, Oct 29, 2007 at 09:19:11PM +0100, Pavel Machek wrote:
> Tell it to your profesor ;-).

I don't have one. I graduated 7 years ago. I was just pointing holes
in the spec. :)

> Not neccessarily but yes, that would be nice, too.

If it doesn't it seems the compression feature is going to be rather
unpredictable and my optimization would be perfectly within spec and
make it pretty much useless.

> Yes. Typically for all zeros. It will be similar for
> highly-compressible data (pictures, timetables, ....)

That would make it tricky to say if you should ever skip compression due
to cpu load. There is a chance cpu load would be better off by doing
the compression.

> root@amd:/data/tmp# time ( cat /dev/zero | head -c 100000000 > delme; sync )
> 0.04user 0.48system 6.52 (0m6.521s) elapsed 7.97%CPU
> root@amd:/data/tmp# time ( cat /dev/zero | head -c 100000000 > delme; sync )
> 0.05user 0.61system 6.33 (0m6.333s) elapsed 10.42%CPU
> root@amd:/data/tmp# time ( cat /dev/zero | head -c 100000000 | gzip - > delme; sync )
> 1.57user 0.32system 1.74 (0m1.749s) elapsed 100.00%CPU
> root@amd:/data/tmp# time ( cat /dev/zero | head -c 100000000 | gzip - > delme; sync )
> 1.61user 0.18system 1.65 (0m1.652s) elapsed 100.00%CPU

--
Len Sorensen
-
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: 2007-10-29 22:47    [W:0.082 / U:2.208 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site