Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005784 [Resin] minor always 08-04-14 10:52 09-08-14 10:25
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.40
Summary 0005784: WINDOWS ONLY: FileServlet: improve download speed
Description On big file before the download starts we spend considerable amount of time building CRC64.
- After the download starts the profile is below

92.763% 29.800s 92.763% JniSocketImpl.writeNative(

at com.caucho.vfs.JniSocketImpl.writeNative()
  at com.caucho.vfs.JniSocketImpl.write()
  at com.caucho.vfs.JniStream.write()
  at com.caucho.vfs.WriteStream.nextBuffer()
  at com.caucho.server.http.HttpResponseStream.writeNextBufferImpl()
  at com.caucho.server.http.ResponseStream.writeNextBuffer()
  at com.caucho.server.http.ResponseStream.nextBuffer()
  at com.caucho.vfs.Path.writeToStream()
  at com.caucho.server.http.HttpResponseStream.sendFile()
  at com.caucho.servlets.FileServlet.service()
  at com.caucho.server.dispatch.ServletFilterChain.doFilter()
  at com.caucho.server.webapp.WebAppFilterChain.doFilter()
  at com.caucho.server.webapp.AccessLogFilterChain.doFilter()
  at com.caucho.server.dispatch.ServletInvocation.service()
  at com.caucho.server.http.HttpRequest.handleRequest()
Additional Information This is on a 7G zip file.


Tomcat | Resin + JNI | Resin JNI
70M/s | 18 M/s | 28M/S
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-04-14 10:52 alex New Issue
09-08-14 10:25 ferg Assigned To  => ferg
09-08-14 10:25 ferg Status new => closed
09-08-14 10:25 ferg Resolution open => fixed
09-08-14 10:25 ferg Fixed in Version  => 4.0.41

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker