一直以来以为是 CPU 使用过度问题,经常的风扇发狂般的响,
近来回想,以前 Ubuntu 6.10 时,在 Dell D620 中,每天不间断跑 SEIT@home CPU 永远100% 时,也没有这种现象的哪,
才判定是 Ubuntu 8.04 的问题,或是配置问题,,,,
开始寻求解决:
cnBeta.COM_Ubuntu_ Ubuntu电源管理问题的说明和解决方案
http://www.cnbeta.com/articles/42421.htm
嗯嗯嗯,开始一步来尝试,先解决已知的硬盘问题:
$ sudo smartctl -a /dev/sda | grep Load_Cycle_Count
193 Load_Cycle_Count 0x0032 098 098 000 Old_age Always - 47069
...
一直是 193 看来 HP 配合的硬盘RP还成,,,
Model Family: Fujitsu MHW2 BH
Device Model: FUJITSU MHW2120BH
Serial Number: NZ1DT7939TVB
Firmware Version: 8918
User Capacity: 120,034,123,776 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a
...
Ubuntu 8.04 优化设置_耐人寻味
http://hi.baidu.com/yaolihui/blog/item/f54beb073910d9cb7a894734.html
开始清扫一下::
$ dpkg --get-selections|grep linux | grep image
linux-image-2.6.22-14-generic install
linux-image-2.6.24-17-generic install
linux-image-2.6.24-19-generic install
linux-image-2.6.24-20-generic install
linux-image-2.6.24-21-generic install
linux-image-generic install
使用 synaptic 清除过往内核,释放400Mb
然后::
Ubuntu中文 论坛 :: 閱讀主題 - Ubuntu8.04系列二--系统优化篇
http://forum.ubuntu.org.cn/viewtopic.php?p=700515#700515
sudo vi /etc/sysctl.conf
添加:
vm.swappiness=3
小贴士: 1G内存推荐值为5/2G内存推荐值为3/不推荐把值设为0
使用 sysv-rc-conf 关闭不必要的服务,,,
好了,终于进入:
ubuntu 笔记本电源管理优化指南
http://forum.ubuntu.org.cn/viewtopic.php?t=33119
... 看CPU 支持什么样的频率:"""
$ cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1
hardware limits: 1000 MHz - 1.67 GHz
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
available cpufreq governors: powersave, userspace, ondemand, conservative, performance
current policy: frequency should be within 1000 MHz and 1.67 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz.
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1
hardware limits: 1000 MHz - 1.67 GHz
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
available cpufreq governors: powersave, userspace, ondemand, conservative, performance
current policy: frequency should be within 1000 MHz and 1.67 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz.
"""
好的,CPU 的频率动态调整比较麻烦,就不作了,,,继续 ATI的优化:
通过 synapatic 安装 fglrx-control,,,
好象不对,俺的显示卡:
:$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
...
是 Intel 的哪,,,
开始评估电池能力:
$ cat /proc/acpi/battery/C1AC/info
present: yes
design capacity: 2000 mAh
last full capacity: 2000 mAh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 103 mAh
design capacity low: 21 mAh
capacity granularity 1: 100 mAh
capacity granularity 2: 100 mAh
model number: Primary
serial number: 48090 2007/09/19
battery type: LIon
OEM info: Hewlett-Packard
好的果然只能有2小时左右的继航能力,但是一般一小时就完了,,,
如图所示开启 laptop-mode 的,,,
然后配置也跟上:
sudo vi /etc/default/acpi-support
...
ENABLE_LAPTOP_MODE=true
...
开始,,,,
$ sudo /etc/init.d/laptop-mode start
* Enabling laptop mode... [ OK ]
$ sudo vi /etc/laptop-mode/laptop-mode.conf
...
# Disable all data loss sensitive features when the battery level (in % of the
# battery capacity) reaches this value.
#
#MINIMUM_BATTERY_CHARGE_PERCENT=3
MINIMUM_BATTERY_CHARGE_PERCENT=10
#
# Disable data loss sensitive features when the battery reports its state
# as "critical".
#
#DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=8
...
HD="/dev/sda"
...
#
#LM_READAHEAD=3072
LM_READAHEAD=8192
...
# Should laptop mode tools control the maximum CPU frequency?
#
#CONTROL_CPU_FREQUENCY=0
CONTROL_CPU_FREQUENCY=1
...
加载内存缓存文件:
$ sudo vi /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
### zoomq::090908 for quiet FAN
tmpfs /tmp tmpfs size=64m 0 0
关闭 swap:
$ sudo swapoff /dev/sda8
俺有2G内存的!
使用一些观察工具:
硬盘温度...
$ sudo hddtemp -n /dev/sda
WARNING: Drive /dev/sda doesn't seem to have a temperature sensor.
WARNING: This doesn't mean it hasn't got one.
WARNING: If you are sure it has one, please contact me (hddtemp@guzu.net).
WARNING: See --help, --debug and --drivebase options.
/dev/sda: FUJITSU MHW2120BH: no sensor
没有硬件支持! 残念!
硬件信息::
$ sudo lshw
ubuntu2zqlaptop
description: Notebook
product: HP 520 Notebook PC(GQ349AA#AB2)
vendor: Hewlett-Packard
version: F.04
serial: CND740015B
width: 32 bits
capabilities: smbios-2.4 dmi-2.4
configuration: boot=normal chassis=notebook uuid=C17A0C00-4770-DC11-0180-66990E42AD29
*-core
description: Motherboard
product: 30D5
vendor: Hewlett-Packard
physical id: 0
version: KBC Version 82.14
*-firmware
description: BIOS
vendor: Hewlett-Packard
physical id: 0
version: 68MVU Ver. F.04 (05/23/2007)
size: 128KiB
capacity: 960KiB
capabilities: pci pcmcia pnp upgrade shadowing cdboot bootselect edd int13floppy720 int5printscreen int9keyboard int14serial int17printer acpi usb ls120boot smartbattery biosbootspecification netboot
*-cpu
description: CPU
product: Intel(R) Core(TM) Duo CPU T2300 @ 1.66GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 6.14.12
serial: 0000-06EC-0000-0000-0000-0000
slot: U10
size: 1667MHz
capacity: 1667MHz
width: 32 bits
clock: 166MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts pni monitor est tm2 xtpr cpufreq
configuration: id=1
*-cache:0
description: L1 cache
physical id: 5
slot: Internal L1 Cache
size: 64KiB
capacity: 64KiB
capabilities: burst internal write-back unified
*-cache:1
description: L2 cache
physical id: 6
slot: Internal L2 Cache
size: 2MiB
capacity: 2MiB
capabilities: burst external write-back unified
*-logicalcpu:0
description: Logical CPU
physical id: 1.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 1.2
width: 32 bits
capabilities: logical
*-memory
description: System Memory
physical id: a
slot: System board or motherboard
size: 2GiB
*-bank:0
description: SODIMM Synchronous 667 MHz (1.5 ns)
product: Kingtiger
vendor: 0000000000000000
physical id: 0
serial: CD6408C6
slot: DIMM #1
size: 1GiB
width: 64 bits
clock: 667MHz (1.5ns)
*-bank:1
description: SODIMM Synchronous 667 MHz (1.5 ns)
product: Kingtiger
vendor: 0000000000000000
physical id: 1
serial: CD6408C6
slot: DIMM #2
size: 1GiB
width: 64 bits
clock: 667MHz (1.5ns)
*-pci
description: Host bridge
product: Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 03
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel module=intel_agp
*-display:0 UNCLAIMED
description: VGA compatible controller
product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list
configuration: latency=0
*-display:1 UNCLAIMED
description: Display controller
product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=0
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0 module=snd_hda_intel
*-pci:0
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-pci:1
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:10:00.0
logical name: wmaster0
version: 02
serial: 00:1c:bf:17:91:18
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 ip=192.168.0.109 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
*-usb:0
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:1
description: USB Controller
product: 82801G (ICH7 Family) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0 module=ehci_hcd
*-pci:2
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: e1
width: 32 bits
clock: 33MHz
capabilities: pci subtractive_decode bus_master cap_list
*-pcmcia
description: CardBus bridge
product: CB1410 Cardbus Controller
vendor: ENE Technology Inc
physical id: 6
bus info: pci@0000:02:06.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pcmcia bus_master cap_list
configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192 module=yenta_socket
*-network
description: Ethernet interface
product: 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:02:08.0
logical name: eth0
version: 01
serial: 00:1b:38:88:7f:7d
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k4-NAPI duplex=half firmware=N/A latency=64 link=no maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=10MB/s
*-isa
description: ISA bridge
product: 82801GBM (ICH7-M) LPC Interface Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: latency=0
*-ide
description: IDE interface
product: 82801G (ICH7 Family) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
logical name: scsi4
version: 01
width: 32 bits
clock: 33MHz
capabilities: ide bus_master emulated
configuration: driver=ata_piix latency=0 module=ata_piix
*-cdrom
description: DVD reader
product: RW/DVD GCC-C10N
vendor: HL-DT-ST
physical id: 0.0.0
bus info: scsi@4:0.0.0
logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0
version: 1.03
capabilities: removable audio cd-r cd-rw dvd
configuration: ansiversion=5 status=open
*-storage
description: SATA controller
product: 82801GBM/GHM (ICH7 Family) SATA AHCI Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi0
version: 01
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list emulated
configuration: driver=ahci latency=0 module=ahci
*-disk
description: ATA Disk
product: FUJITSU MHW2120B
vendor: Fujitsu
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 8918
serial: NZ1DT7939TVB
size: 111GiB (120GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=4f8a4b9a
*-volume:0
description: Windows FAT volume
vendor: MSWIN4.1
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /windows
version: FAT32
serial: 423b-4a02
size: 2643MiB
capacity: 2667MiB
capabilities: primary bootable fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,gid=46,fmask=0007,dmask=0007,codepage=cp437,iocharset=iso8859-1,utf8 state=mounted
*-volume:1
description: Windows FAT volume
vendor: MSWIN4.1
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
logical name: /dos
version: FAT32
serial: 16be-b298
size: 6671MiB
capacity: 6675MiB
capabilities: primary fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,gid=46,fmask=0007,dmask=0007,codepage=cp437,iocharset=iso8859-1,utf8 state=mounted
*-volume:2
description: Linux filesystem partition
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
logical name: /data0
version: 3.6
serial: 767586db-12a4-4084-8c7b-8bebaf4d284b
size: 55GiB
capacity: 55GiB
capabilities: primary journaled reiserfs initialized
configuration: filesystem=reiserfs hash=r5 mount.fstype=reiserfs mount.options=rw,relatime state=mounted
*-volume:3
description: Extended partition
physical id: 4
bus info: scsi@0:0.0.0,4
size: 46GiB
capacity: 46GiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume:0
description: Linux filesystem partition
physical id: 5
logical name: /dev/sda5
logical name: /opt
capacity: 2863MiB
configuration: mount.fstype=ext3 mount.options=rw,relatime,data=ordered state=mounted
*-logicalvolume:1
description: Linux filesystem partition
physical id: 6
logical name: /dev/sda6
logical name: /home
capacity: 19GiB
configuration: mount.fstype=reiserfs mount.options=rw,relatime state=mounted
*-logicalvolume:2
description: Linux filesystem partition
physical id: 7
logical name: /dev/sda7
logical name: /boot
capacity: 243MiB
configuration: mount.fstype=ext3 mount.options=rw,relatime,data=ordered state=mounted
*-logicalvolume:3
description: Linux swap / Solaris partition
physical id: 8
logical name: /dev/sda8
capacity: 1027MiB
capabilities: nofs
*-logicalvolume:4
description: Linux filesystem partition
physical id: 9
logical name: /dev/sda9
logical name: /
logical name: /dev/.static/dev
capacity: 23GiB
configuration: mount.fstype=reiserfs mount.options=rw,relatime state=mounted
嗯嗯嗯,整了一堆,FAN 还是勤快的叫,,,,
无语了,,,
--
http://zoomquiet.org'''
过程改进乃是催生可促生靠谱的人的组织!
PE keeps evolving organizations which promoting people be good!'''
才判定是 Ubuntu 8.04 的问题,或是配置问题,,,,
开始寻求解决:
cnBeta.COM_Ubuntu_ Ubuntu电源管理问题的说明和解决方案
http://www.cnbeta.com/articles/42421.htm
嗯嗯嗯,开始一步来尝试,先解决已知的硬盘问题:
$ sudo smartctl -a /dev/sda | grep Load_Cycle_Count
193 Load_Cycle_Count 0x0032 098 098 000 Old_age Always - 47069
...
一直是 193 看来 HP 配合的硬盘RP还成,,,
Model Family: Fujitsu MHW2 BH
Device Model: FUJITSU MHW2120BH
Serial Number: NZ1DT7939TVB
Firmware Version: 8918
User Capacity: 120,034,123,776 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a
...
Ubuntu 8.04 优化设置_耐人寻味
http://hi.baidu.com/yaolihui/blog/item/f54beb073910d9cb7a894734.html
开始清扫一下::
$ dpkg --get-selections|grep linux | grep image
linux-image-2.6.22-14-generic install
linux-image-2.6.24-17-generic install
linux-image-2.6.24-19-generic install
linux-image-2.6.24-20-generic install
linux-image-2.6.24-21-generic install
linux-image-generic install
使用 synaptic 清除过往内核,释放400Mb
然后::
Ubuntu中文 论坛 :: 閱讀主題 - Ubuntu8.04系列二--系统优化篇
http://forum.ubuntu.org.cn/viewtopic.php?p=700515#700515
sudo vi /etc/sysctl.conf
添加:
vm.swappiness=3
小贴士: 1G内存推荐值为5/2G内存推荐值为3/不推荐把值设为0
使用 sysv-rc-conf 关闭不必要的服务,,,
好了,终于进入:
ubuntu 笔记本电源管理优化指南
http://forum.ubuntu.org.cn/viewtopic.php?t=33119
... 看CPU 支持什么样的频率:"""
$ cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1
hardware limits: 1000 MHz - 1.67 GHz
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
available cpufreq governors: powersave, userspace, ondemand, conservative, performance
current policy: frequency should be within 1000 MHz and 1.67 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz.
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0 1
hardware limits: 1000 MHz - 1.67 GHz
available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
available cpufreq governors: powersave, userspace, ondemand, conservative, performance
current policy: frequency should be within 1000 MHz and 1.67 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz.
"""
好的,CPU 的频率动态调整比较麻烦,就不作了,,,继续 ATI的优化:
通过 synapatic 安装 fglrx-control,,,
好象不对,俺的显示卡:
:$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
...
是 Intel 的哪,,,
开始评估电池能力:
$ cat /proc/acpi/battery/C1AC/info
present: yes
design capacity: 2000 mAh
last full capacity: 2000 mAh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 103 mAh
design capacity low: 21 mAh
capacity granularity 1: 100 mAh
capacity granularity 2: 100 mAh
model number: Primary
serial number: 48090 2007/09/19
battery type: LIon
OEM info: Hewlett-Packard
好的果然只能有2小时左右的继航能力,但是一般一小时就完了,,,
如图所示开启 laptop-mode 的,,,
然后配置也跟上:
sudo vi /etc/default/acpi-support
...
ENABLE_LAPTOP_MODE=true
...
开始,,,,
$ sudo /etc/init.d/laptop-mode start
* Enabling laptop mode... [ OK ]
$ sudo vi /etc/laptop-mode/laptop-mode.conf
...
# Disable all data loss sensitive features when the battery level (in % of the
# battery capacity) reaches this value.
#
#MINIMUM_BATTERY_CHARGE_PERCENT=3
MINIMUM_BATTERY_CHARGE_PERCENT=10
#
# Disable data loss sensitive features when the battery reports its state
# as "critical".
#
#DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=8
...
HD="/dev/sda"
...
#
#LM_READAHEAD=3072
LM_READAHEAD=8192
...
# Should laptop mode tools control the maximum CPU frequency?
#
#CONTROL_CPU_FREQUENCY=0
CONTROL_CPU_FREQUENCY=1
...
加载内存缓存文件:
$ sudo vi /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
### zoomq::090908 for quiet FAN
tmpfs /tmp tmpfs size=64m 0 0
关闭 swap:
$ sudo swapoff /dev/sda8
俺有2G内存的!
使用一些观察工具:
硬盘温度...
$ sudo hddtemp -n /dev/sda
WARNING: Drive /dev/sda doesn't seem to have a temperature sensor.
WARNING: This doesn't mean it hasn't got one.
WARNING: If you are sure it has one, please contact me (hddtemp@guzu.net).
WARNING: See --help, --debug and --drivebase options.
/dev/sda: FUJITSU MHW2120BH: no sensor
没有硬件支持! 残念!
硬件信息::
$ sudo lshw
ubuntu2zqlaptop
description: Notebook
product: HP 520 Notebook PC(GQ349AA#AB2)
vendor: Hewlett-Packard
version: F.04
serial: CND740015B
width: 32 bits
capabilities: smbios-2.4 dmi-2.4
configuration: boot=normal chassis=notebook uuid=C17A0C00-4770-DC11-0180-66990E42AD29
*-core
description: Motherboard
product: 30D5
vendor: Hewlett-Packard
physical id: 0
version: KBC Version 82.14
*-firmware
description: BIOS
vendor: Hewlett-Packard
physical id: 0
version: 68MVU Ver. F.04 (05/23/2007)
size: 128KiB
capacity: 960KiB
capabilities: pci pcmcia pnp upgrade shadowing cdboot bootselect edd int13floppy720 int5printscreen int9keyboard int14serial int17printer acpi usb ls120boot smartbattery biosbootspecification netboot
*-cpu
description: CPU
product: Intel(R) Core(TM) Duo CPU T2300 @ 1.66GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 6.14.12
serial: 0000-06EC-0000-0000-0000-0000
slot: U10
size: 1667MHz
capacity: 1667MHz
width: 32 bits
clock: 166MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts pni monitor est tm2 xtpr cpufreq
configuration: id=1
*-cache:0
description: L1 cache
physical id: 5
slot: Internal L1 Cache
size: 64KiB
capacity: 64KiB
capabilities: burst internal write-back unified
*-cache:1
description: L2 cache
physical id: 6
slot: Internal L2 Cache
size: 2MiB
capacity: 2MiB
capabilities: burst external write-back unified
*-logicalcpu:0
description: Logical CPU
physical id: 1.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 1.2
width: 32 bits
capabilities: logical
*-memory
description: System Memory
physical id: a
slot: System board or motherboard
size: 2GiB
*-bank:0
description: SODIMM Synchronous 667 MHz (1.5 ns)
product: Kingtiger
vendor: 0000000000000000
physical id: 0
serial: CD6408C6
slot: DIMM #1
size: 1GiB
width: 64 bits
clock: 667MHz (1.5ns)
*-bank:1
description: SODIMM Synchronous 667 MHz (1.5 ns)
product: Kingtiger
vendor: 0000000000000000
physical id: 1
serial: CD6408C6
slot: DIMM #2
size: 1GiB
width: 64 bits
clock: 667MHz (1.5ns)
*-pci
description: Host bridge
product: Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 03
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel module=intel_agp
*-display:0 UNCLAIMED
description: VGA compatible controller
product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list
configuration: latency=0
*-display:1 UNCLAIMED
description: Display controller
product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=0
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0 module=snd_hda_intel
*-pci:0
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-pci:1
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 2
vendor: Intel Corporation
physical id: 1c.1
bus info: pci@0000:00:1c.1
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport-driver
*-network
description: Wireless interface
product: PRO/Wireless 3945ABG Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:10:00.0
logical name: wmaster0
version: 02
serial: 00:1c:bf:17:91:18
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 ip=192.168.0.109 latency=0 module=iwl3945 multicast=yes wireless=IEEE 802.11g
*-usb:0
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:1
description: USB Controller
product: 82801G (ICH7 Family) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci_hcd latency=0 module=ehci_hcd
*-pci:2
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: e1
width: 32 bits
clock: 33MHz
capabilities: pci subtractive_decode bus_master cap_list
*-pcmcia
description: CardBus bridge
product: CB1410 Cardbus Controller
vendor: ENE Technology Inc
physical id: 6
bus info: pci@0000:02:06.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pcmcia bus_master cap_list
configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192 module=yenta_socket
*-network
description: Ethernet interface
product: 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:02:08.0
logical name: eth0
version: 01
serial: 00:1b:38:88:7f:7d
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.23-k4-NAPI duplex=half firmware=N/A latency=64 link=no maxlatency=56 mingnt=8 module=e100 multicast=yes port=MII speed=10MB/s
*-isa
description: ISA bridge
product: 82801GBM (ICH7-M) LPC Interface Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: latency=0
*-ide
description: IDE interface
product: 82801G (ICH7 Family) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
logical name: scsi4
version: 01
width: 32 bits
clock: 33MHz
capabilities: ide bus_master emulated
configuration: driver=ata_piix latency=0 module=ata_piix
*-cdrom
description: DVD reader
product: RW/DVD GCC-C10N
vendor: HL-DT-ST
physical id: 0.0.0
bus info: scsi@4:0.0.0
logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0
version: 1.03
capabilities: removable audio cd-r cd-rw dvd
configuration: ansiversion=5 status=open
*-storage
description: SATA controller
product: 82801GBM/GHM (ICH7 Family) SATA AHCI Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi0
version: 01
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list emulated
configuration: driver=ahci latency=0 module=ahci
*-disk
description: ATA Disk
product: FUJITSU MHW2120B
vendor: Fujitsu
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 8918
serial: NZ1DT7939TVB
size: 111GiB (120GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=4f8a4b9a
*-volume:0
description: Windows FAT volume
vendor: MSWIN4.1
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /windows
version: FAT32
serial: 423b-4a02
size: 2643MiB
capacity: 2667MiB
capabilities: primary bootable fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,gid=46,fmask=0007,dmask=0007,codepage=cp437,iocharset=iso8859-1,utf8 state=mounted
*-volume:1
description: Windows FAT volume
vendor: MSWIN4.1
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
logical name: /dos
version: FAT32
serial: 16be-b298
size: 6671MiB
capacity: 6675MiB
capabilities: primary fat initialized
configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,gid=46,fmask=0007,dmask=0007,codepage=cp437,iocharset=iso8859-1,utf8 state=mounted
*-volume:2
description: Linux filesystem partition
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
logical name: /data0
version: 3.6
serial: 767586db-12a4-4084-8c7b-8bebaf4d284b
size: 55GiB
capacity: 55GiB
capabilities: primary journaled reiserfs initialized
configuration: filesystem=reiserfs hash=r5 mount.fstype=reiserfs mount.options=rw,relatime state=mounted
*-volume:3
description: Extended partition
physical id: 4
bus info: scsi@0:0.0.0,4
size: 46GiB
capacity: 46GiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume:0
description: Linux filesystem partition
physical id: 5
logical name: /dev/sda5
logical name: /opt
capacity: 2863MiB
configuration: mount.fstype=ext3 mount.options=rw,relatime,data=ordered state=mounted
*-logicalvolume:1
description: Linux filesystem partition
physical id: 6
logical name: /dev/sda6
logical name: /home
capacity: 19GiB
configuration: mount.fstype=reiserfs mount.options=rw,relatime state=mounted
*-logicalvolume:2
description: Linux filesystem partition
physical id: 7
logical name: /dev/sda7
logical name: /boot
capacity: 243MiB
configuration: mount.fstype=ext3 mount.options=rw,relatime,data=ordered state=mounted
*-logicalvolume:3
description: Linux swap / Solaris partition
physical id: 8
logical name: /dev/sda8
capacity: 1027MiB
capabilities: nofs
*-logicalvolume:4
description: Linux filesystem partition
physical id: 9
logical name: /dev/sda9
logical name: /
logical name: /dev/.static/dev
capacity: 23GiB
configuration: mount.fstype=reiserfs mount.options=rw,relatime state=mounted
嗯嗯嗯,整了一堆,FAN 还是勤快的叫,,,,
无语了,,,
--
http://zoomquiet.org'''
过程改进乃是催生可促生靠谱的人的组织!
PE keeps evolving organizations which promoting people be good!'''
1 条评论:
我晕啦,还以为你解决了呢
发表评论