| From | Sent On | Attachments |
|---|---|---|
| Indo Php | Oct 14, 2010 12:35 am | |
| yung | Oct 14, 2010 12:47 am | |
| SplitIce | Oct 14, 2010 12:47 am | |
| SplitIce | Oct 14, 2010 12:49 am | |
| Indo Php | Oct 14, 2010 1:28 am | |
| SplitIce | Oct 14, 2010 1:33 am | |
| Indo Php | Oct 14, 2010 1:47 am | |
| SplitIce | Oct 14, 2010 2:07 am | |
| Dennis Jacobfeuerborn | Oct 14, 2010 5:22 am | |
| ipta...@yahoo.com | Oct 14, 2010 5:26 am | |
| Reinis Rozitis | Oct 14, 2010 5:41 am | |
| Dennis Jacobfeuerborn | Oct 14, 2010 5:53 am | |
| Igor Sysoev | Oct 14, 2010 6:03 am | |
| Igor Sysoev | Oct 14, 2010 6:04 am | |
| ipta...@yahoo.com | Oct 14, 2010 6:35 am | |
| ipta...@yahoo.com | Oct 14, 2010 6:36 am | |
| ipta...@yahoo.com | Oct 14, 2010 6:45 am | |
| ipta...@yahoo.com | Oct 14, 2010 6:45 am | |
| Maxim Dounin | Oct 14, 2010 6:46 am | |
| Igor Sysoev | Oct 14, 2010 6:46 am | |
| ipta...@yahoo.com | Oct 14, 2010 6:56 am | |
| Maxim Dounin | Oct 14, 2010 7:03 am | |
| Indo Php | Oct 14, 2010 7:25 am | |
| Indo Php | Oct 14, 2010 7:38 am | |
| Indo Php | Oct 14, 2010 7:52 am | |
| Indo Php | Oct 14, 2010 7:53 am | |
| Dennis Jacobfeuerborn | Oct 14, 2010 7:56 am | |
| Indo Php | Oct 14, 2010 8:05 am | |
| Maxim Dounin | Oct 14, 2010 10:35 am | |
| Piotr Karbowski | Oct 14, 2010 10:38 am | |
| Dennis Jacobfeuerborn | Oct 14, 2010 10:42 am | |
| Ryan Malayter | Oct 14, 2010 3:07 pm | |
| ipta...@yahoo.com | Oct 14, 2010 6:08 pm | |
| ipta...@yahoo.com | Oct 14, 2010 6:09 pm | |
| ipta...@yahoo.com | Oct 14, 2010 6:10 pm | |
| ipta...@yahoo.com | Oct 14, 2010 6:11 pm | |
| Splitice | Oct 14, 2010 10:23 pm | |
| Indo Php | Oct 14, 2010 10:40 pm | |
| Dennis Jacobfeuerborn | Oct 15, 2010 1:30 am | |
| Maxime Ducharme | Oct 26, 2010 2:38 pm | |
| aqjh | Oct 27, 2010 6:52 am |
| Subject: | Re: Image Hosting | |
|---|---|---|
| From: | Indo Php (ipta...@yahoo.com) | |
| Date: | Oct 14, 2010 8:05:20 am | |
| List: | ru.sysoev.nginx | |
the output of iotop Total DISK READ: 15.67 M/s | Total DISK WRITE: 0.00 B/s
the output of vmstat 10 10 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 1 31736 3518240 486048 2719488 0 1 646 321 70 39 1 4 88 7 0 0 31736 3474616 489792 2763936 0 0 10909 96 12010 2568 1 5 76 17 0 0 31736 3428900 492456 2797516 0 0 11062 152 12099 2546 1 6 78 15 0 1 31736 3382620 494924 2833764 0 0 12728 136 12709 2580 1 7 76 16 0 1 31696 3325956 497404 2872368 4 0 11678 244 12532 2571 2 6 77 15 0 0 31696 3288048 500144 2906464 0 0 9947 178 12187 2539 1 6 80 13 0 1 31684 3250064 503244 2947148 1 0 10628 166 12279 2613 1 7 78 15 0 0 31680 3180800 507244 2995880 0 0 12200 186 12512 2680 1 7 73 19 0 0 31680 3126368 510364 3047976 0 0 12083 149 12641 2738 2 6 70 21 0 1 31680 3068704 513724 3093616 0 0 11916 176 12648 2799 1 7 74 18
________________________________ From: Dennis Jacobfeuerborn <denn...@conversis.de> To: ngi...@nginx.org Sent: Thu, October 14, 2010 9:57:26 PM Subject: Re: Image Hosting
Please re-run the vmstat as "vmstat 10 10". That should give a better glimpse at what the system is doing.
On 10/14/2010 04:26 PM, Indo Php wrote:
Here's the output of "iostat -d 60 2" Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 85.58 4947.94 2619.30 593632866 314252346
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 114.41 8395.93 339.01 503840 20344
here's the output of vmstat procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 1 332 63136 628344 6085040 0 0 617 324 17 27 1 4 88 6
--------------------------------------------------------------------------- *From:* Dennis Jacobfeuerborn <denn...@conversis.de> *To:* ngi...@nginx.org *Sent:* Thu, October 14, 2010 7:54:26 PM *Subject:* Re: Image Hosting
Ah, sorry I somehow didn't catch that last line with the actual HW setup.
If my math skills don't fail me (and they very well might) the traffic and image size data mean that you serve about 300 images per second. Can you post a few lines of vmstat output and perhaps the output of "iostat -d 60 2"?
Also how are the hits distributed across the whole pool of images? Are these hits truly random or are some images hit significantly more often than others?
More ram would obviously take some pressure off the disks if they are really the problem.
Regards, Dennis
On 10/14/2010 02:26 PM, ipta...@yahoo.com <mailto:ipta...@yahoo.com> wrote:
Actually the image size is arround 100KB each. The server is running in 250Mbps traffic. I already described the disk I'm using is scsi 15K RPM in raid 0
Sent from my BlackBerry® powered by Sinyal Kuat INDOSAT
-----Original Message----- From: Dennis Jacobfeuerborn<denn...@conversis.de <mailto:denn...@conversis.de>> Date: Thu, 14 Oct 2010 14:23:26 To:<ngi...@nginx.org <mailto:ngi...@nginx.org>> Reply-To: ngi...@nginx.org <mailto:ngi...@nginx.org> Subject: Re: Image Hosting
But if those 5,000 req/s each hit a different 1mb image then you need to read 5gb of data from you storage which if your storage is just a plain old sata disk is going to be a huge problem.
Unfortunately Indo Php is not providing nearly enough information to give any sort of advice. If he is lucky then putting lots of ram in the machine for pagecache can help here if the cache hit ratio is good but if it is not then he probably has to distribute the I/O across more spindles and go for a raid with lots of disks.
Regards, Dennis
On 10/14/2010 10:33 AM, SplitIce wrote:
Hmm well talking from experience nginx can serve upwards of 5,000 req/s for static files if configured right. Ill leave this for Igor or someone more expericed to reply to.
On Thu, Oct 14, 2010 at 7:28 PM, Indo Php<ipta...@yahoo.com <mailto:ipta...@yahoo.com> <mailto:ipta...@yahoo.com <mailto:ipta...@yahoo.com>>> wrote:
i tried to use AIO, but it seems my server is getting slower
---------------------------------------------------------------------------
*From:* SplitIce<mat...@gmail.com <mailto:mat...@gmail.com><mailto:mat...@gmail.com <mailto:mat...@gmail.com>>> *To:* ngi...@nginx.org <mailto:ngi...@nginx.org><mailto:ngi...@nginx.org <mailto:ngi...@nginx.org>> *Sent:* Thu, October 14, 2010 2:47:55 PM *Subject:* Re: Image Hosting
Try any of these: 1) Compile nginx with AIO support 2) Try directio option 3) Try sendfile option
On Thu, Oct 14, 2010 at 6:36 PM, Indo Php<ipta...@yahoo.com <mailto:ipta...@yahoo.com> <mailto:ipta...@yahoo.com <mailto:ipta...@yahoo.com>>> wrote:
hi there,
we have an image hosting, and of course we're using Nginx!
Now on we're having problem with disk i/o. With 200GB of images. Is there any recommendation for this matter? Nginx configuration or Hardware/other software configuration?
We already used Dual Quad Core 3Ghz, 8 GB RAM, 6x73GB 15k SCSI server
_______________________________________________ nginx mailing list ngi...@nginx.org <mailto:ngi...@nginx.org><mailto:ngi...@nginx.org <mailto:ngi...@nginx.org>> http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org <mailto:ngi...@nginx.org><mailto:ngi...@nginx.org <mailto:ngi...@nginx.org>> http://nginx.org/mailman/listinfo/nginx
-- Warez Scene<http://thewarezscene.org> Free Rapidshare Downloads <http://www.nexusddl.com>
_______________________________________________ nginx mailing list ngi...@nginx.org <mailto:ngi...@nginx.org> http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org <mailto:ngi...@nginx.org> http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org <mailto:ngi...@nginx.org> http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org <mailto:ngi...@nginx.org> http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx





