|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Оптимизация по-памяти Fre eBSD + nginx под выдачу картин ок
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Оптимизация по-памяти Fre eBSD + nginx под выдачу картин ок
- From: Евгений Григоренко <partizan4ik@xxxxxxxxx>
- Date: Tue, 31 May 2011 20:05:46 +0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=e8/Dl8RvOymQJEKnpznEay9mWaQp3eDM8bdNverxD1Q=; b=U/nWkTNyt7jL0AsP7fSQfPA7umsqyZvVNgxslGXJ8CYE5Lt+BB18dfrV++Qtr45ONN Eb054a8gTuRbvdFGGzFRrcp59tf9b0FLaiF1+H54cG9stEKJCz646mQB5dDji9E29VN0 AmXrASy+j0Su6cC9gcUXCbkR9NS5/eGTJ2jkA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mZjDOCBTAme5wAyuPseR7yMN1asL8zfaZ4S5K9ZsvPlH19AePTCfTEInTcvO1lXxV4 t9XPkXkTO5aqc2xoxnULeikOCPOzYwSZtWGyX7ADIa8qpfPN4XnSKxzVAgbzy9kan6sn nDeDuixqEimTPj73y83u/wfuBpFZ4guRMVwt4=
- In-reply-to: <4DE4E59A.3090006@xxxxxxxxx>
- References: <4DE4E59A.3090006@xxxxxxxxx>
sysctl kern.maxvnodes
31 ??? 2011??. 19:56 ???????????? Vitaly Belenky <heman777@xxxxxxxxx> ???????:
????? ???-?????? ? ??????? ?????????????. ?? ??????? ???????????? ??????? ???-?? ????????.
?????? ?????????. ???? ??????? ?? SATA, ??????? ?????????????? ??????? ???, ???-?? ??? ????? ??? ????????? ??????????? ?????? ??? ???????? ???? ? ?????????? ?????????? ? ?????. ???????? ???????? ?????, ?????? ?????? ?? ????????. ?????? ?????????? ?????? ?????.
???????? ??????
CPU: Intel(R) Xeon(R) CPU ? ? ? ? ? X3450 ?@ 2.67GHz (2666.65-MHz K8-class CPU)
?Origin = "GenuineIntel" ?Id = 0x106e5 ?Family = 6 ?Model = 1e Stepping = 5
real memory ?= 17179869184 (16384 MB)
avail memory = 16470654976 (15707 MB)
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
ad4: 953869MB <Seagate ST31000524NS SN11> at ata2-master UDMA100 SATA 3Gb/s
????????? ???????
???????? maxfiles ? maxfilesperproc
> sysctl -a | grep files
kern.maxfiles: 1600000
kern.maxfilesperproc: 1500000
??????? ? ???????? ???????????? ? noatime
> cat /etc/fstab
# Device ? ? ? ?Mountpoint ? ?FStype ? ?Options ? ? ? ?Dump ? ?Pass#
/dev/ad4s1b ? ? ? ?none ? ? ? ?swap ? ?sw ? ? ? ?0 ? ?0
/dev/ad4s1a ? ? ? ?/ ? ? ? ?ufs ? ?rw ? ? ? ?1 ? ?1
/dev/ad4s1e ? ? ? ?/usr ? ? ? ?ufs ? ?rw,noatime ? ? ? ?2 ? ?2
/dev/ad4s1d ? ? ? ?/var ? ? ? ?ufs ? ?rw ? ? ? ?2 ? ?2
/dev/cd0 ? ? ? ?/cdrom ? ? ? ?cd9660 ? ?ro,noauto ? ?0 ? ?0
? nginx ???????? ??????????? ????????????
open_file_cache ? ? ? ? ? ? max=10000;
open_file_cache_valid ? ? ? 360s;
open_file_cache_min_uses ? ?2;
open_file_cache_errors ? ? ?on;
access ???? ?????????
??????? ?????????? ???????
> sysctl -a | grep "kern.openfiles"
kern.openfiles: 40623
> iostat -dx 1
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 55.9 ? 2.6 ? 754.6 ? ?69.9 ? ?0 ?12.9 ?38
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 33.0 ? 0.0 ? 401.5 ? ? 0.0 ? ?0 ? 7.7 ?25
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 51.9 ? 0.0 ? 452.9 ? ? 0.0 ? ?0 ? 6.5 ?34
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 64.8 ? 5.0 ?1003.0 ? ?57.8 ? ?1 ? 5.8 ?40
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 34.9 ? 0.0 ? 400.7 ? ? 0.0 ? ?1 ? 7.5 ?26
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 49.8 ? 0.0 ? 880.7 ? ? 0.0 ? ?0 ? 7.0 ?33
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 30.9 ? 1.0 ? 577.9 ? ? 2.0 ? ?0 ? 6.9 ?21
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 48.9 ? 0.0 ? 564.3 ? ? 0.0 ? ?0 ? 8.6 ?37
? ? ? ? ? ? ? ? ? ? ? ?extended device statistics
device ? ? r/s ? w/s ? ?kr/s ? ?kw/s wait svc_t ?%b
ad4 ? ? ? 25.9 ? 0.0 ? 404.8 ? ? 0.0 ? ?0 ? 5.7 ?15
last pid: 19320; ?load averages: ?0.16, ?0.21, ?0.18
? ? ? ? ? ? ? ? ? ? ?up 0+02:25:47 ?15:23:55
163 processes: 2 running, 161 sleeping
CPU: ?0.1% user, ?0.0% nice, ?1.0% system, ?0.0% interrupt, 98.9% idle
Mem: 139M Active, 4209M Inact, 1623M Wired, 216K Cache, 1285M Buf, 9835M Free
Swap: 8192M Total, 8192M Free
??? ?? ????? ?????? uptime, ?? ?????? ??? ? ????? ??? 6000M Inact.
??? ????????? ??????? ????????? ???????
--
Best regards, Vitaly Belenky
tel. : 8-909-955-67-20
email: heman777@xxxxxxxxx
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|