Results 1 to 4 of 4

Thread: Knoppix.sort

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818

    Knoppix.sort

    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 Knopper
    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
    Now, 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.

  2. #2
    Member registered user
    Join Date
    Mar 2003
    Posts
    35
    anyvody got a clue how the mkisofs.timestamp file is created??

  3. #3
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    18
    Heh, Klaus put an end to that wives tale, didnt he

  4. #4
    Junior Member
    Join Date
    Jun 2003
    Posts
    4

    The Secret of "mkisofs.timestamp"

    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.

Similar Threads

  1. Knoppix 3.7 is out ... sort of
    By aay in forum News
    Replies: 97
    Last Post: 03-02-2005, 08:45 PM
  2. Now what have I done? Lost KDE panel (sort of)
    By rusty in forum Hdd Install / Debian / Apt
    Replies: 22
    Last Post: 01-24-2005, 05:45 AM
  3. HD Remaster sort
    By mikeUK in forum Customising & Remastering
    Replies: 1
    Last Post: 01-04-2005, 01:52 AM
  4. Please help! Why cant anybody answer this sort of question?
    By radiokid in forum Customising & Remastering
    Replies: 6
    Last Post: 07-09-2004, 02:05 PM
  5. joliet tree sort failed
    By William_Olbrys in forum Customising & Remastering
    Replies: 1
    Last Post: 04-17-2003, 11:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$226.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$197.99



Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM picture

Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM

$49.99



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE

$259.00



Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture

Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays

$159.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD picture

Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD

$99.99



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$139.99



Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture

Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config

$489.99



Gigabyte 2U Server 2x E5-2698 v3  128gb  12x 3.5 12G  9362-8i  14x Trays  Rails picture

Gigabyte 2U Server 2x E5-2698 v3 128gb 12x 3.5 12G 9362-8i 14x Trays Rails

$394.99