* [Comm] io perfomance tuning
@ 2004-07-21 15:56 Alex Murygin
2004-07-21 16:14 ` Alex Murygin
0 siblings, 1 reply; 6+ messages in thread
From: Alex Murygin @ 2004-07-21 15:56 UTC (permalink / raw)
To: community
День добрый.
Идет раздача контента по nfs на 10 машин.
Сервер debian/unstable с nfs-kernel-server и ext3. Raid-5 на 3ware 8506
(10 Serial ATA).
Клиенты freebsd 4.10.
Отчего такой высокий %util при таком низком rsec/s? Что можно почитать
по этому поводу?
$ uname -a
Linux dedicated 2.4.25-1-386 #2 Wed Apr 14 19:38:08 EST 2004 i686
GNU/Linux
$ iostat -dkx 10
....
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
scsi/host0/bus0/target0/lun0/disc
213.09 71.49 29.69 3.12 1942.19 592.04 971.10 296.02 77.25 0.00 0.76 0.42 1.38
....
scsi/host0/bus0/target0/lun0/disc
238.30 1.30 77.60 0.60 2527.20 15.20 1263.60 7.60 32.51 0.56 7.20 5.59 43.70
....
scsi/host0/bus0/target0/lun0/disc
148.80 0.70 5.00 0.90 1230.40 12.80 615.20 6.40 210.71 0.93 158.14 138.64 81.80
....
$ tw_cli
3ware CLI> info c0
Controller: c0
-------------
Driver: 1.02.00.037
Model: 8506-12
FW: FE7S 1.05.00.065
BIOS: BE7X 1.08.00.048
Monitor: ME7X 1.01.00.038
Serial #: F17800A4090020
PCB: Rev5
PCHIP: 1.30-66
ACHIP: 3.20
# of units: 2
Unit 0: RAID 5 1.67 TB ( 3584655360 blocks): OK
Unit 10: SPARE 189.92 GB ( 398295040 blocks): OK
# of ports: 12
Port 0: Maxtor 6Y200M0 Y631TXME 189.92 GB (398297088 blocks): OK(unit 0)
Port 1: Maxtor 6Y200M0 Y631TX5E 189.92 GB (398297088 blocks): OK(unit 0)
Port 2: Maxtor 6Y200M0 Y631VJVE 189.92 GB (398297088 blocks): OK(unit 0)
Port 3: Maxtor 6Y200M0 Y631TZRE 189.92 GB (398297088 blocks): OK(unit 0)
Port 4: Maxtor 6Y200M0 Y631V01E 189.92 GB (398297088 blocks): OK(unit 0)
Port 5: Maxtor 6Y200M0 Y631C6EE 189.92 GB (398297088 blocks): OK(unit 0)
Port 6: Maxtor 6Y200M0 Y631VLCE 189.92 GB (398297088 blocks): OK(unit 0)
Port 7: Maxtor 6Y200M0 Y630VKSE 189.92 GB (398297088 blocks): OK(unit 0)
Port 8: Maxtor 6Y200M0 Y631VKWE 189.92 GB (398297088 blocks): OK(unit 0)
Port 9: Maxtor 6Y200M0 Y631TYHE 189.92 GB (398297088 blocks): OK(unit 0)
Port 10: Maxtor 6Y200M0 Y631XG2E 189.92 GB (398297088 blocks): OK(unit 10)
Спасибо
--
-----------------------
- Alex Murygin, AITOC -
-----------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] io perfomance tuning
2004-07-21 15:56 [Comm] io perfomance tuning Alex Murygin
@ 2004-07-21 16:14 ` Alex Murygin
2004-07-22 18:04 ` Andy Gorev
0 siblings, 1 reply; 6+ messages in thread
From: Alex Murygin @ 2004-07-21 16:14 UTC (permalink / raw)
To: community
On Wed, 21 Jul 2004 18:56:26 +0300
"Alex Murygin" wrote:
Проблема в том что недавно загрузка была около 100% при где-то
3000 rkB/s и около 0 wkB/s. Что не очень нравится так как надеялся
загрузить этот сервер хотя бы до 20000 кkB/s. Причем последовательное
чтение достаточно быстрое.
> День добрый.
>
> Идет раздача контента по nfs на 10 машин.
> Сервер debian/unstable с nfs-kernel-server и ext3. Raid-5 на 3ware 8506
> (10 Serial ATA).
> Клиенты freebsd 4.10.
>
> Отчего такой высокий %util при таком низком rsec/s? Что можно почитать
> по этому поводу?
--
-----------------------
- Alex Murygin, AITOC -
-----------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] io perfomance tuning
2004-07-21 16:14 ` Alex Murygin
@ 2004-07-22 18:04 ` Andy Gorev
2004-07-30 18:53 ` Alex Murygin
0 siblings, 1 reply; 6+ messages in thread
From: Andy Gorev @ 2004-07-22 18:04 UTC (permalink / raw)
To: community
Alex Murygin wrote:
> On Wed, 21 Jul 2004 18:56:26 +0300
> "Alex Murygin" wrote:
>
> Проблема в том что недавно загрузка была около 100% при где-то
> 3000 rkB/s и около 0 wkB/s. Что не очень нравится так как надеялся
> загрузить этот сервер хотя бы до 20000 кkB/s. Причем последовательное
> чтение достаточно быстрое.
А вы top при этом смотрели?
>
>>День добрый.
>>
>>Идет раздача контента по nfs на 10 машин.
>>Сервер debian/unstable с nfs-kernel-server и ext3. Raid-5 на 3ware 8506
>>(10 Serial ATA).
>>Клиенты freebsd 4.10.
>>
>>Отчего такой высокий %util при таком низком rsec/s? Что можно почитать
>>по этому поводу?
>
>
--
С Уважением,
Андрей Горев
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] io perfomance tuning
2004-07-22 18:04 ` Andy Gorev
@ 2004-07-30 18:53 ` Alex Murygin
2004-07-31 8:28 ` Sergey Vlasov
0 siblings, 1 reply; 6+ messages in thread
From: Alex Murygin @ 2004-07-30 18:53 UTC (permalink / raw)
To: community
On Thu, 22 Jul 2004 22:04:48 +0400
"Andy Gorev" wrote:
> Alex Murygin wrote:
> > On Wed, 21 Jul 2004 18:56:26 +0300
> > "Alex Murygin" wrote:
> >
> > Проблема в том что недавно загрузка была около 100% при где-то
> > 3000 rkB/s и около 0 wkB/s. Что не очень нравится так как надеялся
> > загрузить этот сервер хотя бы до 20000 кkB/s. Причем последовательное
> > чтение достаточно быстрое.
>
> А вы top при этом смотрели?
Обратил внимание что выедена вся память (1Gb).
----------------
Tasks: 47 total, 1 running, 46 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
Mem: 905392k total, 899552k used, 5840k free, 2996k buffers
Swap: 1951856k total, 2960k used, 1948896k free, 83420k cached
----------
в top при сортировке по памяти (M), на верху следующие процессы
----------
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14177 root 9 0 2028 1988 1704 S 0.0 0.2 0:00.08 sshd
14170 root 9 0 2020 1980 1704 S 0.0 0.2 0:00.00 sshd
14179 root 10 0 1504 1504 1156 S 0.0 0.2 0:00.03 bash
----------
И куда она вся подевалась? :)
>
> >
> >>День добрый.
> >>
> >>Идет раздача контента по nfs на 10 машин.
> >>Сервер debian/unstable с nfs-kernel-server и ext3. Raid-5 на 3ware 8506
> >>(10 Serial ATA).
> >>Клиенты freebsd 4.10.
> >>
> >>Отчего такой высокий %util при таком низком rsec/s? Что можно почитать
> >>по этому поводу?
> >
> >
>
>
> --
> С Уважением,
> Андрей Горев
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/community
>
--
--
Alex Murygin
AITOC, Inc - ecommerce solution provider and web development company
www.aitoc.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] io perfomance tuning
2004-07-30 18:53 ` Alex Murygin
@ 2004-07-31 8:28 ` Sergey Vlasov
2004-07-31 9:51 ` Alex Murygin
0 siblings, 1 reply; 6+ messages in thread
From: Sergey Vlasov @ 2004-07-31 8:28 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]
On Fri, Jul 30, 2004 at 09:53:04PM +0300, Alex Murygin wrote:
> Обратил внимание что выедена вся память (1Gb).
> ----------------
> Tasks: 47 total, 1 running, 46 sleeping, 0 stopped, 0 zombie
> Cpu(s): 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
> Mem: 905392k total, 899552k used, 5840k free, 2996k buffers
> Swap: 1951856k total, 2960k used, 1948896k free, 83420k cached
> ----------
> в top при сортировке по памяти (M), на верху следующие процессы
> ----------
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 14177 root 9 0 2028 1988 1704 S 0.0 0.2 0:00.08 sshd
> 14170 root 9 0 2020 1980 1704 S 0.0 0.2 0:00.00 sshd
> 14179 root 10 0 1504 1504 1156 S 0.0 0.2 0:00.03 bash
> ----------
> И куда она вся подевалась? :)
Надо смотреть в /proc/slabinfo. Скорее всего, dcache громадный.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] io perfomance tuning
2004-07-31 8:28 ` Sergey Vlasov
@ 2004-07-31 9:51 ` Alex Murygin
0 siblings, 0 replies; 6+ messages in thread
From: Alex Murygin @ 2004-07-31 9:51 UTC (permalink / raw)
To: community
On Sat, 31 Jul 2004 12:28:22 +0400
"Sergey Vlasov" wrote:
> On Fri, Jul 30, 2004 at 09:53:04PM +0300, Alex Murygin wrote:
> > Обратил внимание что выедена вся память (1Gb).
> > ----------------
> > Tasks: 47 total, 1 running, 46 sleeping, 0 stopped, 0 zombie
> > Cpu(s): 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
> > Mem: 905392k total, 899552k used, 5840k free, 2996k buffers
> > Swap: 1951856k total, 2960k used, 1948896k free, 83420k cached
> > ----------
> > в top при сортировке по памяти (M), на верху следующие процессы
> > ----------
> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> > 14177 root 9 0 2028 1988 1704 S 0.0 0.2 0:00.08 sshd
> > 14170 root 9 0 2020 1980 1704 S 0.0 0.2 0:00.00 sshd
> > 14179 root 10 0 1504 1504 1156 S 0.0 0.2 0:00.03 bash
> > ----------
> > И куда она вся подевалась? :)
>
> Надо смотреть в /proc/slabinfo. Скорее всего, dcache громадный.
Именно он, спасибо.
inode_cache 1327035 1327040 464 165880 165880 1
dentry_cache 1328997 1329020 112 37972 37972 1
Поможет ли простое добавление памяти, и сколько?
$find /huge_dir/ -type f|wc -l
1302641
$find /huge_dir/ -type d|wc -l
19768
Спасибо
--
-----------------------
- Alex Murygin, AITOC -
-----------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-07-31 9:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-21 15:56 [Comm] io perfomance tuning Alex Murygin
2004-07-21 16:14 ` Alex Murygin
2004-07-22 18:04 ` Andy Gorev
2004-07-30 18:53 ` Alex Murygin
2004-07-31 8:28 ` Sergey Vlasov
2004-07-31 9:51 ` Alex Murygin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git