General TC > Tiny Core Netbooks

Dell Mini 9

<< < (7/12) > >>

nick65go:
@Robert:
I use wire eth0 only when wireless eth1 will not work. Now wireless works.
The keyword was RESTRICTED into iwconfig settings.
I am behind a personal router, wireless + 4 wire ports, config with my IP range allowed, connected to internet by PPPoE protocol. Laptops and workstation with static IP. Wireless protocol is WEP 64 bits, but I could choose WAP2 etc. I am just testing TC flexibility.

I will lookup to setup Fn keys (suspend, LCD brightness, rfkill wifi, sound volume). Please post your solutions ;). Instructions how to setkeycodes are welcome, then I will use acpid as in wiki.
For asla sound, cpu governors etc, I read wiki and *.tcz.info

roberts:
I use OSS for sound. It has much lighter demands than alsa.
Try flit.tcz for battery & sound control. It will autostart when X starts, i.e., it's presence is tested in .xsession.

I have no need for suspend or hibernate as TC boots and shutdownn is quick enough for me.

But please contribute whatever you wish to add or improve for TC on the mini.

 

nick65go:
My Dell mini 910 is fast. But I try to learn and made it super-fast.
It has Bios A04, 1Gb RAM, 16 GB SSD, ubuntu 8.04 (will be erased as soon as TC will be full setup).

Partition alignment in Linux:
====================
# fdisk -H 224 -S 56 /dev/sdb (or fdisk -S 32 -H32)
http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/
http://www.ocztechnologyforum.com/forum/showpost.php?p=335049&postcount=134
"NAND [flash memory] fundamentally has native 4K block   sizes. Anything that's not aligned to a 4K block creates extra   challenges. For SSD's and HDD's that use a 4k internal sector size, being 4k aligned makes a big difference because it avoids read-modify-write cycles. We can achieve this easily if we simply use a CHS geometry of 56 sectors/track instead of 63 sectors."

Use AHCI module:
=============
http://www.pcper.com/article.php?aid=669&type=expert&pid=3
support NCQ (native command queuing) switching your BIOS settings to AHCI mode: While there are only small gains in large file throughput, there is a 2-3x improvement in small file access. The drive also ‘ramps up’ to full speed much faster, approaching 250MB/sec when performing random 8KB reads.

Mounting the file system:
==================
use "chattr -R +A /mnt" to set the noatime flag on all files and directories, the noatime flag is inherited by default.
http://thunk.org/tytso/blog/2009/03/01/ssds-journaling-and-noatimerelatime/

Best filesystem for SSD=solid state drive?
===============================
Options to choose from:
1. Ext2 with noatime/nodiratime
2. XFS use external logging devices?
3. Ext4 (starting in 2.6.29), support operations with and without a journal. advantages: delayed allocation, using extents versus indirect blocks. A filesystem originally created as ext4 is more efficient than one that was originally    ext3 and then later converted to ext4.
   mke2fs -t ext4 -O ^has_journal -E stripe-width=128 /dev/sdax,
   tune2fs -t ext4 -O ^has_journal /dev/sdXX && e2fsck /dev/sdXX
(adding this kernel parameter to menu.lst: rootfstype=ext4)

Different io schedulers:
=================
1. Complete Fair Queueing Scheduler (CFQ)
2. Anticipatory IO Scheduler (AS)
3. Deadline Scheduler
4. No-op Scheduler
For improved flash performance you could try the noop elevator I/O scheduler setting:
#  echo noop > /sys/block/${DEV}/queue/scheduler
or by adding elevator=noop to your kernel boot parameters in the grub boot menu.

Move Firefox cache to RAM disk:
========================
Open Firefox. Type about:config in the search bar.
Right click on any row. Select New > String from the popup menu.
Add browser.cache.disk.parent_directory and press enter. Use about:cache to verify.

roberts:
Those are good tips. I use the elevator=noop kernel boot option.

What is your BIOS version. I hear that brightness control under Linux requires BIOS update.

nick65go:
My BIOS version is A04. Login from Ubuntu 8.04 to list the files which coul help for Fn key:

files in /etc/acpi/
video_brightnessdown.sh
video_brightnessup.sh
voldownbtn.sh
volupbtn.sh

content of those files:
voldownbtn.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_VOLUMEDOWN

volupbtn.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_VOLUMEUP

video_brightnessdown.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_BRIGHTNESSDOWN

video_brightnessup.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_BRIGHTNESSUP

cat /usr/share/acpi/acpi-support/key-constants
# Generated from /usr/include/linux/input.h dated Sat Feb  4 14:58:52 GMT 2006
KEY_BRIGHTNESSDOWN=224
KEY_BRIGHTNESSUP=225
KEY_MUTE=113
KEY_VOLUMEDOWN=114
KEY_VOLUMEUP=115

====
files in /etc/acpi/events/

# /etc/acpi/events/ac
# Called when the user connects ac power to us
event=ac_adapter
action=/etc/acpi/power.sh

# /etc/acpi/events/battery
# Called when AC power goes away and we switch to battery
event=battery
action=/etc/acpi/power.sh

# /etc/acpi/events/lidbtn
# Called when the user closes or opens the lid
event=button[ /]lid
action=/etc/acpi/lid.sh

# /etc/acpi/events/video_brightnessdown
event=video.* 00000087
action=/etc/acpi/video_brightnessdown.sh

# /etc/acpi/events/video_brightnessup
event=video.* 00000086
action=/etc/acpi/video_brightnessup.sh

# /etc/acpi/events/videobtn
event=video.* 00000080
action=/etc/acpi/videobtn.sh

tell me what  path/commnads to do in ubuntu, then i will post the results here. Or attach the files..

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version