Hi, I did some tests with the fiels example application. When serving lage files, the CPU load of the application is very high. After some research with callgrind, I located the problem in iobuf_append. The call to memcpy is the main source of CPU load, using about 60% of the runtime (See the attached callgrind output).
I ran the tests on Ubuntu 14.04 64bit, using the file example. I only changed the file serverd by the application to a file larger than 1Gb. On Windows 7 the same behaviour could be observed. -- 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.
callgrind.out
Description: Binary data
