anyvody got a clue how the mkisofs.timestamp file is created??
From
http://mailman.linuxtag.org/pipermai...ry/001593.html
On Mon, Jan 13, 2003 at 02:52:07PM -0800, Rib Rdb wrote:
> A question I've often seen people asking is why their
> remastered knoppix cd's run slower than knoppix.
> People usually respond saying that Klaus uses a
> special ordering of the files in the KNOPPIX cloop
> file. When people ask how to generate the sort file,
> I've never seen a response. Am I just missing
> something? If so, where is the answer. If not, is
> there a reason that Klaus won't tell us how he does it?
There is no special reason, except that some readers may find it
confusing and obscure, but no magic is involved. The ordering
is still not as good as it should be, and I doubt that it makes
a significant difference. The proper way would be tracing all
open() calls in the kernel and gernerating the list from there,
but I found no convenient way to do this yet.
Currently I use the file access times as sorting criteria, which
may not always give the best results. Attached is an example script.
Your mileage may vary.
Regards
-Klaus KnopperNow, i'm interested in how well this works. I have seen Klaus write that no sorting at all may be just as fast sometimes. So i guess we can easily compate, and maybe improve this a little.Code:#!/bin/sh find / -anewer /KNOPPIX.build/mkisofs.timestamp -not \( -type d -o -path /KNOPPIX.build\* -o -path /tmp\* -o -path /proc/\* -o -path /mnt/\* \) -printf '%p %A@\n' | sort -rn +1 -t' ' | awk -F' ' '{print $1 " " ++i}' > /KNOPPIX.build/mkisofs.sort echo "/bin/mkdir 10090" >> /KNOPPIX.build/mkisofs.sort echo "/bin/chown 10080" >> /KNOPPIX.build/mkisofs.sort echo "/bin/cp 10070" >> /KNOPPIX.build/mkisofs.sort echo "/bin/ln 10060" >> /KNOPPIX.build/mkisofs.sort echo "/bin/rm 10050" >> /KNOPPIX.build/mkisofs.sort echo "/dev/* 20000" >> /KNOPPIX.build/mkisofs.sort echo "/etc/* 30000" >> /KNOPPIX.build/mkisofs.sort
anyvody got a clue how the mkisofs.timestamp file is created??
Heh, Klaus put an end to that wives tale, didnt he
I would also be interested in knowing how mkisofs.timestamp is generated.
I have a test remaster here that takes about 2 times longer to boot into KDE than the original ISO.
Even if there is a marginal speed improvement I would be happy.
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$13.50
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$16.50
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
HP Hynix 64GB (4x16GB) PC3-8500R DDR3 1066 MHz CL7 Server RAM 500207-071
$12.50
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$13.25
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$239.38
Hynix 64GB 2Rx4 PC4-3200 RDIMM DDR4-25600 ECC REG Registered Server Memory RAM
$129.99