さくらVPS

H/W

hao@www28146u% cat /proc/cpuinfo                         [~/work/unixbench-5.1.2]
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
stepping        : 11
cpu MHz         : 2660.178
cache size      : 4096 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc pni ssse3 hypervisor lahf_lm
bogomips        : 5320.35
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
stepping        : 11
cpu MHz         : 2660.178
cache size      : 4096 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc pni ssse3 hypervisor lahf_lm
bogomips        : 5320.35
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

hao@www28146u%                                           [~/work/unixbench-5.1.2]
hao@www28146u% uname -a                                  [~/work/unixbench-5.1.2]
Linux www28146u 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686 GNU/Linux
top - 11:32:43 up 14:13,  1 user,  load average: 0.00, 1.35, 2.04
Tasks:  80 total,   2 running,  78 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu1  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    514664k total,   487724k used,    26940k free,    71068k buffers
Swap:   915664k total,        0k used,   915664k free,   289960k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    1 root      20   0  2032  732  640 S    0  0.1   0:01.02 init
    2 root      20   0     0    0    0 S    0  0.0   0:00.01 kthreadd
    3 root      RT   0     0    0    0 S    0  0.0   0:04.54 migration/0
    4 root      20   0     0    0    0 S    0  0.0   0:01.30 ksoftirqd/0
    5 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0
    6 root      RT   0     0    0    0 S    0  0.0   0:04.32 migration/1
    7 root      20   0     0    0    0 S    0  0.0   0:01.32 ksoftirqd/1
    8 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/1
    9 root      20   0     0    0    0 S    0  0.0   0:00.29 events/0
   10 root      20   0     0    0    0 S    0  0.0   0:00.60 events/1
   11 root      20   0     0    0    0 S    0  0.0   0:00.00 cpuset
   12 root      20   0     0    0    0 S    0  0.0   0:00.00 khelper
   13 root      20   0     0    0    0 S    0  0.0   0:00.00 netns
   14 root      20   0     0    0    0 S    0  0.0   0:00.00 async/mgr
   15 root      20   0     0    0    0 S    0  0.0   0:00.00 pm
   16 root      20   0     0    0    0 S    0  0.0   0:00.04 sync_supers
   17 root      20   0     0    0    0 S    0  0.0   0:00.05 bdi-default
   18 root      20   0     0    0    0 S    0  0.0   0:00.00 kintegrityd/0
   19 root      20   0     0    0    0 S    0  0.0   0:00.00 kintegrityd/1
   20 root      20   0     0    0    0 S    0  0.0   0:00.01 kblockd/0
   21 root      20   0     0    0    0 S    0  0.0   0:00.03 kblockd/1
   22 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpid
   23 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpi_notify
   24 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpi_hotplug
hao@www28146u% /sbin/ifconfig                            [~/work/unixbench-5.1.2]
eth0      Link encap:Ethernet  HWaddr 52:54:00:02:81:46
          inet addr:49.212.36.184  Bcast:49.212.37.255  Mask:255.255.254.0
          inet6 addr: fe80::5054:ff:fe02:8146/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:182117 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34913 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:48731320 (46.4 MiB)  TX bytes:5789294 (5.5 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:158 errors:0 dropped:0 overruns:0 frame:0
          TX packets:158 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18650 (18.2 KiB)  TX bytes:18650 (18.2 KiB)
root@www28146u# df                                                            [~]
Filesystem           1K-ブロック    使用   使用可 使用% マウント位置
/dev/hda1              9920592   8337648   1070876  89% /
/dev/hda3              9399288   6526676   2387452  74% /home
tmpfs                   255264         0    255264   0% /dev/shm
/dev                    255264        76    255188   1% /deb/dev
root@www28146u# mount                                                         [~]
/dev/hda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /home type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/proc on /deb/proc type proc (rw,bind)
/dev on /deb/dev type devfs (rw,bind)
root@www28146u# cat /etc/fstab                                                [~]
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/home             /home                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-hda2         swap                    swap    defaults        0 0
#
/proc                   /deb/proc               proc    bind            0 0
/dev                    /deb/dev                devfs   bind            0 0

root@www28146u# hdparm -Tt /dev/hda1                                          [~]

/dev/hda1:
 Timing cached reads:   20448 MB in  2.00 seconds = 10234.03 MB/sec
 Timing buffered disk reads:  364 MB in  3.01 seconds = 121.02 MB/sec
root@www28146u# hdparm -Tt /dev/hda1                                          [~]

/dev/hda1:
 Timing cached reads:   14588 MB in  2.00 seconds = 7298.93 MB/sec
 Timing buffered disk reads:  590 MB in  3.00 seconds = 196.62 MB/sec
root@www28146u# hdparm -Tt /dev/hda1                                          [~]

/dev/hda1:
 Timing cached reads:   18444 MB in  2.00 seconds = 9230.10 MB/sec
 Timing buffered disk reads:  788 MB in  3.01 seconds = 262.23 MB/sec
セクションの編集

unixbench

make[1]: Leaving directory `/home/hao/work/unixbench-5.1.2'
sh: 3dinfo: not found
sh: runlevel: not found

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com


1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

2 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

2 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

2 x Execl Throughput  1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

2 x File Copy 256 bufsize 500 maxblocks  1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

2 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

2 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

2 x Process Creation  1 2 3

2 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: www28146u: GNU/Linux
   OS: GNU/Linux -- 2.6.32-5-686 -- #1 SMP Tue Mar 8 21:36:00 UTC 2011
   Machine: i686 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (5320.4 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   CPU 1: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (5320.4 bogomips)
          x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   10:28:24 up 13:09,  1 user,  load average: 0.00, 0.03, 0.00; runlevel

------------------------------------------------------------------------
Benchmark Run: Mon Apr 11 2011 10:28:24 - 10:56:38
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       13220019.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2503.5 MWIPS (9.8 s, 7 samples)
Execl Throughput                               2347.7 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        626762.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          183427.1 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1391663.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1486871.7 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 251472.0 lps   (10.0 s, 7 samples)
Process Creation                               5512.7 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4605.5 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1042.4 lpm   (60.0 s, 2 samples)
System Call Overhead                        2685869.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   13220019.4   1132.8
Double-Precision Whetstone                       55.0       2503.5    455.2
Execl Throughput                                 43.0       2347.7    546.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     626762.4   1582.7
File Copy 256 bufsize 500 maxblocks            1655.0     183427.1   1108.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1391663.8   2399.4
Pipe Throughput                               12440.0    1486871.7   1195.2
Pipe-based Context Switching                   4000.0     251472.0    628.7
Process Creation                                126.0       5512.7    437.5
Shell Scripts (1 concurrent)                     42.4       4605.5   1086.2
Shell Scripts (8 concurrent)                      6.0       1042.4   1737.4
System Call Overhead                          15000.0    2685869.3   1790.6
                                                                   ========
System Benchmarks Index Score                                        1023.2

------------------------------------------------------------------------
Benchmark Run: Mon Apr 11 2011 10:56:38 - 11:24:55
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       25164178.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4987.0 MWIPS (9.6 s, 7 samples)
Execl Throughput                               7190.9 lps   (29.6 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        656915.4 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          190053.1 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2031427.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2841423.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 537174.2 lps   (10.0 s, 7 samples)
Process Creation                              27439.4 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   9780.8 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1340.5 lpm   (60.0 s, 2 samples)
System Call Overhead                        4688330.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   25164178.4   2156.3
Double-Precision Whetstone                       55.0       4987.0    906.7
Execl Throughput                                 43.0       7190.9   1672.3
File Copy 1024 bufsize 2000 maxblocks          3960.0     656915.4   1658.9
File Copy 256 bufsize 500 maxblocks            1655.0     190053.1   1148.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    2031427.5   3502.5
Pipe Throughput                               12440.0    2841423.1   2284.1
Pipe-based Context Switching                   4000.0     537174.2   1342.9
Process Creation                                126.0      27439.4   2177.7
Shell Scripts (1 concurrent)                     42.4       9780.8   2306.8
Shell Scripts (8 concurrent)                      6.0       1340.5   2234.2
System Call Overhead                          15000.0    4688330.2   3125.6
                                                                   ========
System Benchmarks Index Score                                        1909.3

hao@www28146u%                                           [~/work/unixbench-5.1.2]

参考値(Optiplex GX620)

make[1]: Leaving directory `/home/hao/tmp/unixbench-5.1.2'
sh: 3dinfo: not found
sh: runlevel: not found

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com


1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

2 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

2 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

2 x Execl Throughput  1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

2 x File Copy 256 bufsize 500 maxblocks  1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

2 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

2 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

2 x Process Creation  1 2 3

2 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: pentaho: GNU/Linux
   OS: GNU/Linux -- 2.6.32-30-generic -- #59-Ubuntu SMP Tue Mar 1 21:30:46 UTC 2011
   Machine: x86_64 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Pentium(R) D CPU 3.00GHz (5985.4 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Pentium(R) D CPU 3.00GHz (5985.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   11:05:12 up 5 min,  1 user,  load average: 0.13, 0.15, 0.08; runlevel

------------------------------------------------------------------------
Benchmark Run: 水  4月 20 2011 11:05:12 - 11:33:28
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables        9331837.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     1567.6 MWIPS (9.9 s, 7 samples)
Execl Throughput                               1787.9 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        334629.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          102126.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        722800.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                              755458.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  85959.9 lps   (10.0 s, 7 samples)
Process Creation                               5147.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   3541.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    674.3 lpm   (60.1 s, 2 samples)
System Call Overhead                         878970.7 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0    9331837.1    799.6
Double-Precision Whetstone                       55.0       1567.6    285.0
Execl Throughput                                 43.0       1787.9    415.8
File Copy 1024 bufsize 2000 maxblocks          3960.0     334629.5    845.0
File Copy 256 bufsize 500 maxblocks            1655.0     102126.2    617.1
File Copy 4096 bufsize 8000 maxblocks          5800.0     722800.8   1246.2
Pipe Throughput                               12440.0     755458.0    607.3
Pipe-based Context Switching                   4000.0      85959.9    214.9
Process Creation                                126.0       5147.3    408.5
Shell Scripts (1 concurrent)                     42.4       3541.2    835.2
Shell Scripts (8 concurrent)                      6.0        674.3   1123.8
System Call Overhead                          15000.0     878970.7    586.0
                                                                   ========
System Benchmarks Index Score                                         590.7

------------------------------------------------------------------------
Benchmark Run: 水  4月 20 2011 11:33:28 - 12:01:26
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       18786991.7 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3139.2 MWIPS (9.8 s, 7 samples)
Execl Throughput                               3916.0 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        327908.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           86587.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        717556.7 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1517127.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 172465.6 lps   (10.0 s, 7 samples)
Process Creation                              12022.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5325.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    681.4 lpm   (60.1 s, 2 samples)
System Call Overhead                        1520522.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   18786991.7   1609.9
Double-Precision Whetstone                       55.0       3139.2    570.8
Execl Throughput                                 43.0       3916.0    910.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     327908.3    828.1
File Copy 256 bufsize 500 maxblocks            1655.0      86587.3    523.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     717556.7   1237.2
Pipe Throughput                               12440.0    1517127.2   1219.6
Pipe-based Context Switching                   4000.0     172465.6    431.2
Process Creation                                126.0      12022.9    954.2
Shell Scripts (1 concurrent)                     42.4       5325.1   1255.9
Shell Scripts (8 concurrent)                      6.0        681.4   1135.7
System Call Overhead                          15000.0    1520522.1   1013.7
                                                                   ========
System Benchmarks Index Score                                         910.7
セクションの編集

OS

カスタムOSの場合

[/etc/crontab]
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
セクションの編集

S/W

# vi /etc/apt/sources.list
# apt-get update
# apt-get upgrade
# apt-cache search linux-image-2.6
# apt-get install linux-image-2.6.32-5-amd64 linux-headers-2.6.32-5-amd64
# apt-get install udev
# apt-get dist-upgrade
% tar zxf vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz
% patch -p0 < vpnclient-linux.2.6.31.diff
% cp -p vpnclient/Makefile vpnclient/Makefile.org
% vi vpnclient/Makefile
% ls
% cd vpnclient
% patch < ../cisco_skbuff_offset.patch
% sudo ./vpn_install
セクションの編集

プラン変更(メモリ1G、HDD100G)

root@www11437ue# cat /proc/cpuinfo                            [~/work/unixbench-5.1.2]
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5645
stepping        : 1
cpu MHz         : 2400.084
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 cx16 sse4_1 sse4_2 popcnt
bogomips        : 4800.16
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 44
model name      : Intel(R) Xeon(R) CPU           E5645
stepping        : 1
cpu MHz         : 2400.084
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflu
sh mmx fxsr sse sse2 ht syscall nx lm constant_tsc pni ssse3 cx16 sse4_1 sse4_2 popcnt
bogomips        : 4720.24
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:
========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: www11437ue.sakura.ne.jp: GNU/Linux
   OS: GNU/Linux -- 2.6.18-308.4.1.el5 -- #1 SMP Tue Apr 17 17:08:00 EDT 2012
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E5645 (4720.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   11:44:38 up 21:15,  3 users,  load average: 0.01, 0.07, 0.12; runlevel

------------------------------------------------------------------------
Benchmark Run: 月  5月 14 2012 11:44:38 - 12:12:29
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       11904621.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2382.8 MWIPS (9.9 s, 7 samples)
Execl Throughput                               2734.9 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        673331.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          197679.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1292121.5 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1668716.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 148952.3 lps   (10.0 s, 7 samples)
Process Creation                               9254.6 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   5023.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1171.1 lpm   (60.0 s, 2 samples)
System Call Overhead                        2425936.8 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   11904621.4   1020.1
Double-Precision Whetstone                       55.0       2382.8    433.2
Execl Throughput                                 43.0       2734.9    636.0
File Copy 1024 bufsize 2000 maxblocks          3960.0     673331.7   1700.3
File Copy 256 bufsize 500 maxblocks            1655.0     197679.8   1194.4
File Copy 4096 bufsize 8000 maxblocks          5800.0    1292121.5   2227.8
Pipe Throughput                               12440.0    1668716.1   1341.4
Pipe-based Context Switching                   4000.0     148952.3    372.4
Process Creation                                126.0       9254.6    734.5
Shell Scripts (1 concurrent)                     42.4       5023.6   1184.8
Shell Scripts (8 concurrent)                      6.0       1171.1   1951.9
System Call Overhead                          15000.0    2425936.8   1617.3
                                                                   ========
System Benchmarks Index Score                                        1047.5

------------------------------------------------------------------------
Benchmark Run: 月  5月 14 2012 12:12:29 - 12:40:26
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       22969877.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4664.6 MWIPS (10.2 s, 7 samples)
Execl Throughput                               6674.4 lps   (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        245708.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           71525.6 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        543960.6 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3079248.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 587737.2 lps   (10.0 s, 7 samples)
Process Creation                              18492.0 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   7864.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1245.3 lpm   (60.1 s, 2 samples)
System Call Overhead                        3963410.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   22969877.0   1968.3
Double-Precision Whetstone                       55.0       4664.6    848.1
Execl Throughput                                 43.0       6674.4   1552.2
File Copy 1024 bufsize 2000 maxblocks          3960.0     245708.3    620.5
File Copy 256 bufsize 500 maxblocks            1655.0      71525.6    432.2
File Copy 4096 bufsize 8000 maxblocks          5800.0     543960.6    937.9
Pipe Throughput                               12440.0    3079248.2   2475.3
Pipe-based Context Switching                   4000.0     587737.2   1469.3
Process Creation                                126.0      18492.0   1467.6
Shell Scripts (1 concurrent)                     42.4       7864.1   1854.7
Shell Scripts (8 concurrent)                      6.0       1245.3   2075.5
System Call Overhead                          15000.0    3963410.3   2642.3
                                                                   ========
System Benchmarks Index Score                                        1346.1
root@www11437ue# hdparm -Tt /dev/vda                          [~/work/unixbench-5.1.2]

/dev/vda:
 Timing cached reads:   19424 MB in  2.00 seconds = 9721.20 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  668 MB in  3.00 seconds = 222.56 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
root@www11437ue# hdparm -Tt /dev/vda                          [~/work/unixbench-5.1.2]

/dev/vda:
 Timing cached reads:   18728 MB in  2.00 seconds = 9371.73 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  702 MB in  3.00 seconds = 233.75 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
root@www11437ue# hdparm -Tt /dev/vda                          [~/work/unixbench-5.1.2]

/dev/vda:
 Timing cached reads:   18832 MB in  2.00 seconds = 9422.74 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  698 MB in  3.01 seconds = 231.85 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
セクションの編集

いつの間にか遅くなってる?

CPUは変わってないように見えてるが...

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: www11437ue.sakura.ne.jp: GNU/Linux
   OS: GNU/Linux -- 2.6.18-308.4.1.el5 -- #1 SMP Tue Apr 17 17:08:00 EDT 2012
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E5645 (4800.2 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   CPU 1: Intel(R) Xeon(R) CPU E5645 (4835.4 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
   13:11:05 up 318 days,  5:40,  3 users,  load average: 0.35, 0.22, 0.21; runle
vel

------------------------------------------------------------------------
------------------------------------------------------------------------
Benchmark Run: 火  2月 25 2014 13:11:05 - 13:39:03
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       11772503.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     2316.3 MWIPS (9.9 s, 7 samples)
Execl Throughput                               3306.4 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        558446.7 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          164930.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        938709.2 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1548413.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                  13710.6 lps   (10.0 s, 7 samples)
Process Creation                               7587.5 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4120.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1069.8 lpm   (60.0 s, 2 samples)
System Call Overhead                        2396748.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   11772503.3   1008.8
Double-Precision Whetstone                       55.0       2316.3    421.2
Execl Throughput                                 43.0       3306.4    768.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     558446.7   1410.2
File Copy 256 bufsize 500 maxblocks            1655.0     164930.8    996.6
File Copy 4096 bufsize 8000 maxblocks          5800.0     938709.2   1618.5
Pipe Throughput                               12440.0    1548413.0   1244.7
Pipe-based Context Switching                   4000.0      13710.6     34.3
Process Creation                                126.0       7587.5    602.2
Shell Scripts (1 concurrent)                     42.4       4120.1    971.7
Shell Scripts (8 concurrent)                      6.0       1069.8   1783.0
System Call Overhead                          15000.0    2396748.6   1597.8
                                                                   ========
System Benchmarks Index Score                                         782.7
------------------------------------------------------------------------
Benchmark Run: 火  2月 25 2014 13:39:03 - 14:07:00
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       21824297.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4607.8 MWIPS (10.3 s, 7 samples)
Execl Throughput                               6319.7 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        228307.1 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks           70347.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks        464563.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3027486.2 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 443484.2 lps   (10.0 s, 7 samples)
Process Creation                              17596.3 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   9079.7 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   1260.1 lpm   (60.1 s, 2 samples)
System Call Overhead                        3932083.2 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   21824297.3   1870.1
Double-Precision Whetstone                       55.0       4607.8    837.8
Execl Throughput                                 43.0       6319.7   1469.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     228307.1    576.5
File Copy 256 bufsize 500 maxblocks            1655.0      70347.4    425.1
File Copy 4096 bufsize 8000 maxblocks          5800.0     464563.3    801.0
Pipe Throughput                               12440.0    3027486.2   2433.7
Pipe-based Context Switching                   4000.0     443484.2   1108.7
Process Creation                                126.0      17596.3   1396.5
Shell Scripts (1 concurrent)                     42.4       9079.7   2141.4
Shell Scripts (8 concurrent)                      6.0       1260.1   2100.2
System Call Overhead                          15000.0    3932083.2   2621.4
                                                                   ========
System Benchmarks Index Score                                        1284.0
Last modified: 2014-03-25 by Unknown