Welcome! Log In Create A New Profile

Advanced

Re: Image Hosting

Anonymous User
October 14, 2010 09:58AM
Hi Dennis,

For the output of vmstat and iostat I'll update you soon, because now I'm using my mobile.

The hits of the file is almost 90% pool of images.


-----Original Message-----
From: Dennis Jacobfeuerborn <dennisml@conversis.de>
Date: Thu, 14 Oct 2010 14:54:26
To: <nginx@nginx.org>
Reply-To: nginx@nginx.org
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, iptablez@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<dennisml@conversis.de>
> Date: Thu, 14 Oct 2010 14:23:26
> To:<nginx@nginx.org>
> Reply-To: nginx@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<iptablez@yahoo.com
>> <mailto:iptablez@yahoo.com>> wrote:
>>
>> i tried to use AIO, but it seems my server is getting slower
>>
>> ---------------------------------------------------------------------------
>> *From:* SplitIce<mat999@gmail.com<mailto:mat999@gmail.com>>
>> *To:* nginx@nginx.org<mailto:nginx@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<iptablez@yahoo.com
>> <mailto:iptablez@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
>> nginx@nginx.org<mailto:nginx@nginx.org>
>> http://nginx.org/mailman/listinfo/nginx
>>
>>
>>
>>
>>_______________________________________________
>> nginx mailing list
>> nginx@nginx.org<mailto:nginx@nginx.org>
>> http://nginx.org/mailman/listinfo/nginx
>>
>>
>>
>>
>> --
>> Warez Scenehttp://thewarezscene.org Free Rapidshare Downloads
>> http://www.nexusddl.com
>>
>>
>>
>>_______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://nginx.org/mailman/listinfo/nginx
>
>
>_______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>_______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Image Hosting

Indo Php October 14, 2010 03:44AM

Re: Image Hosting

SplitIce October 14, 2010 03:52AM

Re: Image Hosting

Indo Php October 14, 2010 04:32AM

Re: Image Hosting

SplitIce October 14, 2010 04:36AM

Re: Image Hosting

Indo Php October 14, 2010 04:52AM

Re: Image Hosting

SplitIce October 14, 2010 05:12AM

Re: Image Hosting

Dennis Jacobfeuerborn October 14, 2010 08:28AM

Re: Image Hosting

Anonymous User October 14, 2010 08:30AM

Re: Image Hosting

Reinis Rozitis October 14, 2010 08:46AM

Re: Image Hosting

Dennis Jacobfeuerborn October 14, 2010 08:58AM

Re: Image Hosting

Anonymous User October 14, 2010 09:58AM

Re: Image Hosting

Indo Php October 14, 2010 10:30AM

Re: Image Hosting

Dennis Jacobfeuerborn October 14, 2010 11:04AM

Re: Image Hosting

Indo Php October 14, 2010 11:14AM

Re: Image Hosting

Dennis Jacobfeuerborn October 14, 2010 01:50PM

Re: Image Hosting

Anonymous User October 14, 2010 09:12PM

Re: Image Hosting

Dennis Jacobfeuerborn October 15, 2010 04:36AM

Re: Image Hosting

Ryan Malayter October 14, 2010 06:14PM

Re: Image Hosting

Anonymous User October 14, 2010 09:12PM

Re: Image Hosting

Igor Sysoev October 14, 2010 09:08AM

Re: Image Hosting

Maxim Dounin October 14, 2010 09:50AM

Re: Image Hosting

Anonymous User October 14, 2010 10:00AM

Re: Image Hosting

Indo Php October 14, 2010 10:44AM

Re: Image Hosting

SplitIce October 14, 2010 03:54AM

Re: Image Hosting

yung October 14, 2010 03:54AM

Re: Image Hosting

Igor Sysoev October 14, 2010 09:10AM

Re: Image Hosting

Anonymous User October 14, 2010 09:40AM

Re: Image Hosting

Anonymous User October 14, 2010 09:40AM

Re: Image Hosting

Anonymous User October 14, 2010 09:50AM

Re: Image Hosting

Igor Sysoev October 14, 2010 09:50AM

Re: Image Hosting

Indo Php October 14, 2010 10:58AM

Re: Image Hosting

Maxim Dounin October 14, 2010 10:10AM

Re: Image Hosting

Indo Php October 14, 2010 10:58AM

Re: Image Hosting

Maxim Dounin October 14, 2010 01:42PM

Re: Image Hosting

Anonymous User October 14, 2010 09:16PM

Re: Image Hosting

Piotr Karbowski October 14, 2010 01:44PM

Re: Image Hosting

Anonymous User October 14, 2010 09:14PM

Re: Image Hosting

Splitice October 15, 2010 01:30AM

Re: Image Hosting

Indo Php October 15, 2010 01:46AM

Re: Image Hosting

Maxime Ducharme October 26, 2010 05:42PM

Re: Image Hosting

aqjh October 27, 2010 09:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready