Actually it shouldn't be the browser upload mechanism.  I can't say
about IE (closed-source) but the Mozilla/Netscape 6.0 are smart in the way
they upload.  

        There was a problem with Jason's library and Tomcat in some of the
older versions (i.e. the version that ships in his book).  If you go to the
O'Reily site you can download a newer version that is smarter about how it
receives the upload.  This yielded a significant speed up.

        By the way, when uploading from the same machine as the server -
you're right you should see almost 100% CPU utilization, but you should also
see a significant amout of OS processing (moving from disk to memory, memory
to device (NIC), device (NIC) to memory, memory to disk), which should be
your major limitor (and will depend upon things like having DMA in your
hardware architecture.)

        Randy


-----Original Message-----
From: Dmitry Rogatkin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:16 PM
To: [EMAIL PROTECTED]
Subject: RE: Slow upload speeds


I have feeling that it's a browser issue. Can somebody who knows browser
upload mechanism confirm that?

Dmitry R., [EMAIL PROTECTED]
Chief Architect, MetricStream.COM
Santa Clara, CA






-----Original Message-----
From:    Tal Dayan [EMAIL PROTECTED]
Sent:    Wed, 21 Feb 2001 19:05:06 -0800
To:      [EMAIL PROTECTED]
Subject: RE: Slow upload speeds



We have the same low performance problem with Jason's library. The strange
things is that when the browser and server are on the same machine (using
127.0.0.1) the CPU usage is still low while transferring large files. Our
experience with other client/server applications is that the CPU usage in
such cases gets to 100% (since there is no real I/O to the NIC, all is
handled by the CPU).

I am not sure where the 'idle' time is spent.

Tal

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 04, 2001 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: Slow upload speeds
>
>
> Hi everyone.
>
> I am using Tomcat-3.2.1 on W2K, Solaris with or without apache. Since I
> need to provide users with functionality to upload fairly big files (> 10
> MB), speed is essential.
>
> My uploader is based on Jason Hunter code. Maximum upload speed I could
> achieve is between 40 and 60 Kbytes/s (even when client and server are on
> the same machine). Bottleneck (quiet predictable) seems to be in
> ServletInputStream misc. "read()" methods. Speed does not seem to be
> dependant on a platform or web server.
>
> Anyone was able to achieve better speeds (at least around 100 kBytes/s)?
> Any ideas ?
>
> Thanks
>
> Andrus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to