4285IX.fm Draft Document for Review May 4, 2007 11:35 am
152 Linux Performance and Tuning Guidelines
scsi subdirectory 62
sys subdirectory 62
tty subdirectory 62
process
child 4
defined 3
descriptor 4
lifecycle 4
process management 3–10
process memory segments
data segment 9
stack segment 9
text segment 8
process priority 5
arrays 9
tuning 109
process state
TASK_INTERRUPTIBLE 7
TASK_RUNNING 7
TASK_STOPPED 7
TASK_UNINTERRUPTIBLE 7
TASK_ZOMBIE 7
Process Table 65
processor metrics 34
processor subsystem, tuning 108–110
ps command 44
pstree command 44
pthread 5
Q
Quality of Service
Complete Fair Queuing 24
R
RAID 87, 114, 124
RAID-0 85
RAID-10 85
RAID-5 85
rawdevices 98
read_ahead_kb 120
Redbooks Web site 147
Contact us xi
redundant array of independent disks
See RAID
ReiserFS 19, 121, 123
renice command 109
retransmission 33
rpc 98
runlevel
changing 101
selection 94
runlevel command 101
S
sa1 50
sa2 50
sar command 50
SCSI
See Small Computer System Interface
SCSI buses 85
scsi ubdirectory 62
Security Enhanced Linux
See SELinux
SELinux 94, 102–104
disabling 103
sendmail 98
sequential workloads 85
Small Computer System Interface 25
smartd 98
SMP 81
SMT
See symmetric multithreading
socket buffer 26–27
socket buffer size 129
socket interface 26
speed 126
stack segment 9
strace command 59
streaming 85
stripe size 124
stripe-unit size 124
swap file 13, 93
compared to swap partition 93
swap partition 15, 93, 111–112
compared to swap file 93
multiple 111
swap space 13
swapping
compared to paging 83
defined 83
symmetric multithreading 109
SYN packet 30
sys subdirectory 62
sysctl command 105, 108, 129
system call
clone() 5
exec() 4
exit() 4
fork() 4
wait() 4
System Load 64
T
TASK_INTERRUPTIBLE 7
TASK_RUNNING 7
TASK_STOPPED 7
TASK_UNINTERRUPTIBLE 7
TASK_ZOMBIE 7
TCP segmentation offload 33
TCP/IP 30–34
bonding module 34
connection establishment 30
offload 33
retransmission 33
traffic control 32
transfer window 32
tuning 129–132
tcpdump 128