[debian-non-standard] Ok, now it rocks...

Tomasz Chmielewski mangoo at wpkg.org
Sat Feb 23 00:04:33 CET 2008


Martin Steigerwald schrieb:

(...)

> And kernel 2.6.24 would be interesting in order to make WLAN work in case 
> I want to have it.

You could built-in an initramfs into your kernel - see here:

http://wpkg.org/Running_Debian_on_Freecom_FSG-3#initramfs

(and FSG-3 downloads for an example initramfs; it's ARM-based, but 
you've got an idea).


> I am already thinking of using several USB sticks... when I am at a linux 
> user group party, I just put in an WLAN router USB stick and when I am at 
> some my ADSL routing USB stick... so the internal flash would just be 
> the "bootloader" ;-), well lets see..

> BTW how fast is your USB? I used a pretty fast and quite expensive USB 
> stick for my Debian installation.
> 
> It had:
> 
> shambala> hdparm -tT /dev/sdb
> 
> /dev/sdb:
>  Timing cached reads:   1226 MB in  2.00 seconds = 612.70 MB/sec
>  Timing buffered disk reads:   72 MB in  3.05 seconds =  23.61 MB/sec
> 
> on my notebook
> 
> and has:
> 
> gayatri:~# hdparm -tT /dev/sda
> 
> /dev/sda:
>  Timing cached reads:    90 MB in  2.00 seconds =  44.98 MB/sec
>  Timing buffered disk reads:   24 MB in  3.22 seconds =   7.45 MB/sec
> gayatri:~# hdparm -tT /dev/sda
> 
> /dev/sda:
>  Timing cached reads:    92 MB in  2.03 seconds =  45.21 MB/sec
>  Timing buffered disk reads:   22 MB in  3.13 seconds =   7.04 MB/sec
> 
> on the ASUS.

A really cheap 4 GB USB stick:

# echo 3 > /proc/sys/vm/drop_caches
mangoo:~# hdparm -Tt /dev/sda

/dev/sda:
  Timing cached reads:    84 MB in  2.01 seconds =  41.78 MB/sec
  Timing buffered disk reads:   24 MB in  3.14 seconds =   7.63 MB/sec


BTW, you don't want to repeat "hdparm -tT /dev/sda" one after another - 
you'll get cached results, i.e.:

# hdparm -Tt /dev/sda

/dev/sda:
  Timing cached reads:    94 MB in  2.03 seconds =  46.25 MB/sec
  Timing buffered disk reads:   28 MB in  3.20 seconds =   8.76 MB/sec


Also, you will want to drop the caches between making any tests.

On the other hand, as this router has only few RAM, caching effect is 
rather limited.



-- 
Tomasz Chmielewski
http://wpkg.org



More information about the debian-non-standard mailing list