09-28-04 07:50 AM
Whoa, Gianni, it's not even *close* to being that simple...
Wider sharing loads do NOT scale linearly. This is because each active
client requires handling, and process scheduling means that this doesn't
scale linearly due to the overheads involved in switching contexts. NFS
loads are one thing, if you planning to share via CIFS (using SAMBA) the
situation is even worse due to session state handling overheads.
i.e. after a point the performance degradation per additional user itself
increases with each additional user - the response time degradation curve is
exponential.
Have a look at some of the graphs on http://www.spec.org/sfs97r1/results/
and you'll see what I mean.
Your application sounds interesting - large transfers AND high concurrency.
You'll most likely find that your simple Linux box is just plain not going
to cope. At the very least you should add some more RAM - since it's 64 bit
you could probably go to 8GB fairly cheaply, and play with the fs caching...
Realistically, this is probably a job for a NetApp or an EMC Celerra.
"Gianni Mariani" <gi2nospam@mariani.ws> wrote in message
news:chfd5v$1oj@dispatch.concentric.net...
> Jesper Monsted wrote:
you[vbcol=seagreen]
>
> But that depends on how much time the drive needs to spend seek()ing.
>
> The files are 1-2 gig in size - the problem requirement is that it can
> handle 2000+ clients.
>
> 11ms seek * 2000 = 22 seconds spent seeking (worst case in a round-robin
> scenario).
>
> If each client reads at 500kb/sec then the client reads 1.1MB in a 22
> second period.
>
> Hence, in theory, if I can have 2.2GB of buffer memory, it can support
> 2000 clients reading at 500kb/sec and each client reading a different
> section off a single drive. I can probably fit 8 300GB drives in an
> enclosure so that's 2.4TB. That also means that the effective seek time
> went from 11ms to 1.4ms (best case).
>
> A scsi drive has the problem that even the highest performance drives
> just don't have the capacity.
>
> Seagate ST3146807 :
> 147GB
> seek 4.7ms.
> Sustained 38-68 MB/sec
>
> 8 drives -> 1.2TB
>
> So the trade-off is seek time, capacity (density) and cost/GB.
>
> 4.7ms vs 11ms
> 147GB vs 300GB
> $3/GB vs $0.80/GB.
>
> It appears the transfer rates are similar (accoding to the specs).
>
> The only way to really tell is to test it.
>
[ Post a follow-up to this message ]
|