El día Saturday, May 26, 2012 a las 04:01:54PM +0200, Wojciech Puchar escribió:
> >> Why? Your laptop have most probably slow CPU and it will make everything > >> too slow if you make everything encrypted. > > > > I'd suggest some experiments - create a largish RAMdisk with and without > > GELI and see how the performance compares (this will be a lot faster than > > converting your SSD as well as saving a full-SSD erase/write cycle). > > right. DO TESTs. > > mdconfig -a -t swap -s512m -u 0 > dd if=/dev/zero of=/dev/md0 bs=128k count=4k > dd if=/dev/md0 of=/dev/null bs=128k count=4k > > geli init -s 2048 /dev/md0 > geli attach /dev/md0 > dd if=/dev/md0.eli of=/dev/null bs=128k count=4k (*) > dd if=/dev/zero of=/dev/md0.eli bs=128k count=4k (*) > geli detach /dev/md0 > mdconfig -d -u 0 I did the same tests with my laptop Acer Aspire One D250 and the small netbook EeePC 900: Acer Aspire One D250: $ dmesg | fgrep CPU: CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.22-MHz 686-class CPU) # mdconfig -a -t swap -s512m -u 0 # dd if=/dev/zero of=/dev/md0 bs=128k count=4k 536870912 bytes transferred in 2.252701 secs (238323196 bytes/sec) # dd if=/dev/md0 of=/dev/null bs=128k count=4k 536870912 bytes transferred in 1.355759 secs (395992908 bytes/sec) # geli init -s 2048 /dev/md0 Enter new passphrase: ... # geli attach /dev/md0 Enter passphrase: # dd if=/dev/md0.eli of=/dev/null bs=128k count=4k 536868864 bytes transferred in 40.844322 secs (13144272 bytes/sec) # dd if=/dev/zero of=/dev/md0.eli bs=128k count=4k 536868864 bytes transferred in 43.093812 secs (12458143 bytes/sec) # geli detach /dev/md0 # mdconfig -d -u 0 EeePC 900 # dmesg | fgrep CPU: CPU: Intel(R) Celeron(R) M processor 900MHz (900.11-MHz 686-class CPU) # mdconfig -a -t swap -s512m -u 1 # dd if=/dev/zero of=/dev/md1 bs=128k count=4k 536870912 bytes transferred in 2.072289 secs (259071449 bytes/sec) # dd if=/dev/md1 of=/dev/null bs=128k count=4k 536870912 bytes transferred in 1.439256 secs (373019761 bytes/sec) # # geli init -s 2048 /dev/md1 Enter new passphrase: Reenter new passphrase: ... # geli attach /dev/md1 Enter passphrase: # dd if=/dev/md1.eli of=/dev/null bs=128k count=4k 536868864 bytes transferred in 35.093015 secs (15298454 bytes/sec) # dd if=/dev/zero of=/dev/md1.eli bs=128k count=4k 536868864 bytes transferred in 38.044995 secs (14111419 bytes/sec) # geli detach /dev/md1 # mdconfig -d -u 1 As you can see the EeePC with it's Intel Celeron CPU of only 900 MHz is even faster then the Acer with Atom CPU; BTW: On the EeePC I run 10-CURRENT, KDE 3.5.10 and never encounter performance issues while reading, writing etc. Concerning your hint installing the systen on the second SSD of around 16 GByte (marketing GBytes :-)), the BIOS by itself is unable to boot from; one has to go (by pressing ESC) to the boot menu to pick it up as current boot device; any idea how this could be changed? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <g...@unixarea.de> - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"