Just to tidy this thread up, we did run tests, and while 5.3.5 has 3x total per-conn throughput than4.1, it is still 4x slower than IIS in single-conn throughput.
Is your server asynchronously reading the file in background thread separately from spitting out the bytes in the communication thread? If not, that is likely the issue. The file input thread should be dumping into a queue that is being read by the net writer thread. Each stream object should be running independently in it's own thread to eliminate any wait-state for vending bytes. Those wait states, while small, will pile up in you in a hurry and severely lessen your total throughput, especially for slow HD's.. Naturally, for portability the code would enable this only when multiple cores are detected, otherwise it would only serve to slow things down further. I don't have any SSD's on the server in question, otherwise I would test with the server vending files from that and see if it makes a difference. In theory it should not, as both HD and SSD are faster than the net connection...so that and only that should be the bottleneck. But if it does make a difference then there is your answer... Ryan On Friday, June 20, 2014 2:54:40 PM UTC-4, Ryan Rogers wrote: > I forgot to add, we're going to try 5.3.5, and if it solves the problem, > I'm sure the company I'm consulting for will gladly purchase a license so > that we don't have to run IIS.. > > Thanks! > Ryan > > On Friday, June 20, 2014 10:47:08 AM UTC-4, Ryan Rogers wrote: > >> Hi there, >> >> I'm running 4.1 and I can't vend files faster than 1mbit/s. Running as a >> service. Windows Server 2008 R2. >> >> There wass no throttle set in mongoose.conf. IIS on the same machine and >> vend the same file at 1.5MB/sec (12x faster). >> >> I tried setting this in mongoose.conf to override any default throttle >> that may be getting set internally: >> >> throttle *=0 >> >> Made no difference. >> >> Why is Mongoose so slow? It seems to be throttling itself to 1mbps...and >> I can't tell it not to... >> >> What am I missing? >> >> Also, why can I no longer find the 4.1 documentation online? >> >> Thanks, >> Ryan >> > -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/d/optout.
