Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    dm-loop (for qole)

    Reply
    Page 1 of 4 | 1   2     3   | Next | Last
    Matan | # 1 | 2008-09-26, 12:37 | Report

    These two modules enable dm-loop:

    http://my.arava.co.il/~matan/770/dm-mod.ko
    http://my.arava.co.il/~matan/770/dm-loop.ko


    To use it you need dmsetup package which is available from debfarm repository. After installing the package add a symlink from dmlosetup to dmsetup, and run something like:

    dmlosetup 0 /z/debian.img

    Then mount /dev/dm-0 /opt


    In my (very unscientific) tests it is about 4 times faster than loop, and very close to direct access speed.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 21 Users Say Thank You to Matan For This Useful Post:
    allnameswereout, attila77, BrentDC, Bundyo, cheve, chritto, delaroca, doctorbri, giladmttw, Glasswalker, meizirkki, michaaa62, murphy, pton, qole, qwerty12, solarion, Stskeeps, timsamoff, t_moyashi

     
    qole | # 2 | 2008-09-26, 19:49 | Report

    Matan,

    you rock.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 3 | 2008-09-27, 05:16 | Report

    Originally Posted by Matan View Post
    ....run something like:

    dmlosetup 0 /z/debian.img
    Just a slight correction, the 0 is wrong, it should be loop0 instead:

    Code:
    dmlosetup loop0 /media/mmc1/debian.img
    Originally Posted by Matan View Post
    In my (very unscientific) tests it is about 4 times faster than loop, and very close to direct access speed.
    OpenOffice loads at least 2x as fast, which is a huge improvement.

    Thanks so much! I've already incorporated the Matan TurboLoop (c) into my next version of Easy Debian...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qole For This Useful Post:
    Architengi

     
    Stskeeps | # 4 | 2008-10-02, 08:56 | Report

    Matan: Can I probe what patch you used for the 2.6.21 kernel to get this compiled?, as it's not part of the 2.6.21 kernel by default. Reason is that I would like to compile some .o's that would follow kernel updates for Deblet.

    Your work is immensely useful both for qole's Easy Debian and for my "Deblet-in-a-file" (I've just managed to compile dmsetup.static, may be interesting as well for qole), where I make a Deblet system boot entirely from a file on a vfat partition.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Stskeeps For This Useful Post:
    Architengi, timsamoff

     
    Matan | # 5 | 2008-10-02, 11:15 | Report

    I'm using iodine in an airport, so I won't include a link, but dm-loop project has patches for 2.6.20 which apply cleanly to 2.6.21-omap1.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Matan For This Useful Post:
    daperl, Stskeeps

     
    qole | # 6 | 2008-10-02, 16:22 | Report

    Originally Posted by Matan View Post
    I'm using iodine in an airport...
    Yikes. Now there's a man who likes his free wi-fi, no matter how slow.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Stskeeps | # 7 | 2008-10-04, 16:17 | Report

    Deblet-in-a-file now also uses dm-loop thanks for the great work Matan.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Stskeeps For This Useful Post:
    Architengi, qole, timsamoff

     
    qole | # 8 | 2009-06-17, 04:19 | Report

    Matan: Do you think you could build these modules for the Maemo 5 kernel?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qole For This Useful Post:
    Architengi

     
    Matan | # 9 | 2009-06-17, 08:49 | Report

    I am usually not interested in software without hardware to run on, so I do not expect to install Maemo 5 SDK until (and if) a Maemo 5 tablet is available.

    There are patches that should apply to modern kernel, see here:

    http://osdir.com/ml/linux.kernel.dev.../msg00038.html

    I believe that anyone who has the SDK installed can easily patch and compile the kernel.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Matan For This Useful Post:
    qwerty12, timsamoff, YoDude

     
    qole | # 10 | 2009-06-17, 15:50 | Report

    I discovered last night that the lack of a dm-loop in Fremantle is the least of my problems. I am finding it very difficult to test my Easy Debian scripts in the SDK when there's not even a "mount" command...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 4 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout