mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
![]() This causes significant performance issues when using large (>10meg) writes
Fix by adjusting the buffer write function to clear the buffer once, rather than
piece by piece, avoiding a case where a large write (in our case, around
70mbytes) will consume 100% of CPU. This takes a webrick GET request via SSL
from around 200kbyts/sec and consuming 100% of a core, to line speed on gigabit
ethernet and 6% cpu utlization.
|
||
---|---|---|
.. | ||
openssl | ||
openssl.rb |