Помогите с оптимизацией сервера

123
S
На сайте с 26.10.2005
Offline
100
#11

Так а как разобраться с мускулом. Мне знаний не хватает чтобы определить где причина, и нормально ли работает мускул (

K
На сайте с 07.03.2011
Offline
172
#12

Есть раздел, в котором много предложений услуг администрирования, в том числе разовых услуг

Услуги: Сервер i7 за 66 евро! (http://blackhost.ru/dedicated-servers), VPS SSD от 6 евро (http://blackhost.ru/vps) Гарантированные канал 1 Gbps за 337 евро (https://blackhost.ru/dedicated-servers#addons). Защита от DDoS-атак. Blackhost.ru - Наша тема (/ru/forum/892885)
S
На сайте с 26.10.2005
Offline
100
#13

А что нужно установить чтобы пофиксить bc: command not found

:) нашел..

K
На сайте с 07.03.2011
Offline
172
#14

Его bc и надо установить

Den73
На сайте с 26.06.2010
Offline
523
#15

если делать нечего)

wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz

tar xvf unixbench-5.1.2.tar.gz

cd unixbench-5.1.2

./Run

dd if=/dev/zero of=/home/file bs=4096k count=100

dd if=/home/file of=/dev/null bs=4096k

Ps впс за 350р

[root@v1 ~]# dd if=/dev/zero of=/home/file bs=4096k count=100

100+0 records in

100+0 records out

419430400 bytes (419 MB) copied, 1.37493 seconds, 305 MB/s

[root@v1 ~]#

[root@v1 ~]# dd if=/home/file of=/dev/null bs=4096k

100+0 records in

100+0 records out

419430400 bytes (419 MB) copied, 0.344744 seconds, 1.2 GB/s

[root@v1 ~]#

[root@v1 ~]#

S
На сайте с 26.10.2005
Offline
100
#16

Den73

Dedicated:

[root@host unixbench-5.1.2]# ./Run

Can't exec "make": No such file or directory at ./Run line 787.

Can't exec "make": No such file or directory at ./Run line 789.

**********************************************

Run: "make all" failed; aborting

[root@host unixbench-5.1.2]# dd if=/dev/zero of=/home/file bs=4096k count=100

100+0 records in

100+0 records out

419430400 bytes (419 MB) copied, 2.98372 seconds, 141 MB/s

[root@host unixbench-5.1.2]# dd if=/home/file of=/dev/null bs=4096k

100+0 records in

100+0 records out

419430400 bytes (419 MB) copied, 0.560123 seconds, 749 MB/s

VPS:

[root@host unixbench-5.1.2]# ./Run

gcc -o ./pgms/arithoh -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Darithoh ./src/arith.c

make: gcc: Command not found

make: *** [pgms/arithoh] Error 127

Checking distribution of files

./pgms exists

./src exists

./testdir exists

./tmp exists

./results exists

gcc -o ./pgms/arithoh -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer -fforce-addr -ffast-math -Wall -Darithoh ./src/arith.c

make: gcc: Command not found

make: *** [pgms/arithoh] Error 127

**********************************************

Run: "make all" failed; aborting

[root@host unixbench-5.1.2]# dd if=/dev/zero of=/home/file bs=4096k count=100

100+0 records in

100+0 records out

419430400 bytes (419 MB) copied, 1.99983 seconds, 210 MB/s

[root@host unixbench-5.1.2]# dd if=/home/file of=/dev/null bs=4096k

100+0 records in

100+0 records out

419430400 bytes (419 MB) copied, 1.46255 seconds, 287 MB/s

K
На сайте с 07.03.2011
Offline
172
#17

У вас не установлены пакеты для сборки unix-bench, если вы не обратили внимания

S
На сайте с 26.10.2005
Offline
100
#18
klamas:
У вас не установлены пакеты для сборки unix-bench, если вы не обратили внимания

поставил вроде все пакеты, кроме "sh: 3dinfo: command not found"

бенч запустился..жду

sstyle добавил 30.04.2011 в 01:17

Dedicated:



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

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

System: host.orion-show.ru: GNU/Linux
OS: GNU/Linux -- 2.6.18-238.9.1.el5 -- #1 SMP Tue Apr 12 18:10:13 EDT 2011
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD Athlon(tm) 64 Processor 3800+ (1999.8 bogomips)
x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
22:49:37 up 3:14, 1 user, load average: 0.09, 0.05, 0.09; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Fri Apr 29 2011 22:49:37 - 23:16:45
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 7813000.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 2149.7 MWIPS (4.5 s, 7 samples)
Execl Throughput 3204.9 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 320850.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 99708.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 641417.1 KBps (30.0 s, 2 samples)
Pipe Throughput 968913.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 242981.6 lps (10.0 s, 7 samples)
Process Creation 9570.0 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3572.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 493.4 lpm (60.1 s, 2 samples)
System Call Overhead 1926933.5 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 7813000.5 669.5
Double-Precision Whetstone 55.0 2149.7 390.9
Execl Throughput 43.0 3204.9 745.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 320850.8 810.2
File Copy 256 bufsize 500 maxblocks 1655.0 99708.6 602.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 641417.1 1105.9
Pipe Throughput 12440.0 968913.2 778.9
Pipe-based Context Switching 4000.0 242981.6 607.5
Process Creation 126.0 9570.0 759.5
Shell Scripts (1 concurrent) 42.4 3572.8 842.6
Shell Scripts (8 concurrent) 6.0 493.4 822.3
System Call Overhead 15000.0 1926933.5 1284.6
========
System Benchmarks Index Score 753.8

VPS:


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

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

System: host.indiid.ru: GNU/Linux
OS: GNU/Linux -- 2.6.18-238.9.1.el5 -- #1 SMP Tue Apr 12 18:10:13 EDT 2011
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: QEMU Virtual CPU version 0.13.0 (6149.8 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
00:43:19 up 22:20, 1 user, load average: 0.16, 0.07, 0.17; runlevel 3

------------------------------------------------------------------------
Benchmark Run: Sat Apr 30 2011 00:43:19 - 01:11:29
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 17693270.9 lps (10.0 s, 7 samples)
Double-Precision Whetstone 3345.0 MWIPS (9.9 s, 7 samples)
Execl Throughput 3987.6 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 670350.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 198471.2 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1412169.3 KBps (30.0 s, 2 samples)
Pipe Throughput 1365259.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 368309.0 lps (10.0 s, 7 samples)
Process Creation 12710.9 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 6159.3 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 881.9 lpm (60.1 s, 2 samples)
System Call Overhead 1061232.2 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 17693270.9 1516.1
Double-Precision Whetstone 55.0 3345.0 608.2
Execl Throughput 43.0 3987.6 927.3
File Copy 1024 bufsize 2000 maxblocks 3960.0 670350.8 1692.8
File Copy 256 bufsize 500 maxblocks 1655.0 198471.2 1199.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 1412169.3 2434.8
Pipe Throughput 12440.0 1365259.8 1097.5
Pipe-based Context Switching 4000.0 368309.0 920.8
Process Creation 126.0 12710.9 1008.8
Shell Scripts (1 concurrent) 42.4 6159.3 1452.7
Shell Scripts (8 concurrent) 6.0 881.9 1469.8
System Call Overhead 15000.0 1061232.2 707.5
========
System Benchmarks Index Score 1168.9

sstyle добавил 30.04.2011 в 14:52

Сапорт hetzner вот что ответил:

If you want more CPU-power and a Dedicated Root Server you need min. a EQ4 server.

The VQ12 is running on a server of the EQ-series thats why the VQ12 has more

CPU-power.

To check the bandwidth of the X2 server please provide us the following file for

download. Then we can check the download-speed of the X2.

===

Не понятно нафиг нужен тогда такой дедик который медленнее VPS ворочается

S
На сайте с 26.10.2005
Offline
100
#19

Вчера настроил MRTG, и график mysql какой то устрашающий.

http://pix.am/bAcG.png

на сервере всего 6 сайтов и максимум 1500чел\сутки общая посещаемость.

и вот подробнее http://pix.am/qK2h.png

как проверить что не так?

T
На сайте с 03.06.2010
Offline
51
#20

X2 работает на SATA жестких дисках (довольно старых и уже не раз использованных другими покупателями), в то время как vq12 (по тестам которые мы проводили) работает на SAS дисках. Именно тут вы и получаете разницу в скорости чтения и соответственно разницу в скорости отклика сайта. Как бы вы не тюнили mysql, не поможет.

Доступные решения KVM (http://goo.gl/FrfY7) и OpenVZ (http://goo.gl/w5gsK), VDS/VPS хостинга на SSD и SAS дисках в Нидерландах. Кстати, промокоды, акции, скидки (http://goo.gl/kfYM7) у нас тоже есть. Бесплатные SSL для KVM VPS.
123

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий