Re: Slow file upload?
Sgarlata Matt wrote: Unfortunately I'm not going to have time to set up this experiment for a few weeks because the app I am currently working on does not require file upload capabilities. I'll do a test in a few weeks and post the results to struts-user. I'm guessing from your response that the costs of encoding/decoding the file so it can be sent over HTTP/MIME is much larger than one would suppose and that this time is greater than the time it takes to send the file over a large connection. The experiment was to get you to think about what might be going on in your system. Compared to FTP the fileupload is about 70-80% as fast. Surprisingly the encoding/decoding is pretty quick. Thanks, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Slow file upload?
Don't know if its really bug because it does actually work just fine; it just chews up allot of CPU when doing network I/O. I'm not sure if this only happens on Windows boxes or if it happens on other platforms as well. The thing about Netscape/Mozilla is that it runs on allot of different platforms. And many of the different platforms have a slightly different take on how you do asynchronous non-blocking network I/O. So they probably have created some library to abstract out these differences. Now maybe its a bug in how they implemented asynchronous non blocking I/O on windows or maybe they just decided it would be easier to poll rather then handling the many different ways different Os's can provide asynchronous notification that there is more data available or that its OK to send more data. -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 11:04 AM To: Struts Users Mailing List Subject: RE: Slow file upload? I just tried this from another PC running Windows and IE, and then the upload took less than a second.. Is this a "bug" in Mozilla or? BTJ On Tue, 2003-09-16 at 15:58, Kurt Post wrote: > If you are running on a Windows box, I would try using IE instead of Mozilla > for your timing tests. On windows, Netscape and thus probably Mozilla, > seems to spin in a hard loop poling for new data while its trying to receive > data over the network. This results in 100% CPU utilization and really > slows things down. It might just be that it also spins in a hard loop when > its waiting for the transmit buffer to empty enough so it can continue to > send more data. > > -Original Message- > From: Daniel Washusen [mailto:[EMAIL PROTECTED] > Sent: Monday, September 15, 2003 11:54 PM > To: Struts Users Mailing List > Subject: RE: Slow file upload? > > > > Yes, I am using Struts 1.1 and the default upload in commons-fileupload. > > The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > > half of it free.. The browser I tried the upload with was Mozilla.. > > > > BTJ > > > > I'm running a P4 1.7 with 512MB of RAM and I can upload a 1.8 MB file in > about 1 second and a 8 MB file in about 3 seconds... Struts 1.1, > commons-fileupload and Tomcat 4.1.27. Not really much help for you but it > would confirm that it all works... > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Slow file upload?
I just tried this from another PC running Windows and IE, and then the upload took less than a second.. Is this a "bug" in Mozilla or? BTJ On Tue, 2003-09-16 at 15:58, Kurt Post wrote: > If you are running on a Windows box, I would try using IE instead of Mozilla > for your timing tests. On windows, Netscape and thus probably Mozilla, > seems to spin in a hard loop poling for new data while its trying to receive > data over the network. This results in 100% CPU utilization and really > slows things down. It might just be that it also spins in a hard loop when > its waiting for the transmit buffer to empty enough so it can continue to > send more data. > > -Original Message- > From: Daniel Washusen [mailto:[EMAIL PROTECTED] > Sent: Monday, September 15, 2003 11:54 PM > To: Struts Users Mailing List > Subject: RE: Slow file upload? > > > > Yes, I am using Struts 1.1 and the default upload in commons-fileupload. > > The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > > half of it free.. The browser I tried the upload with was Mozilla.. > > > > BTJ > > > > I'm running a P4 1.7 with 512MB of RAM and I can upload a 1.8 MB file in > about 1 second and a 8 MB file in about 3 seconds... Struts 1.1, > commons-fileupload and Tomcat 4.1.27. Not really much help for you but it > would confirm that it all works... > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
RE: Slow file upload?
If you are running on a Windows box, I would try using IE instead of Mozilla for your timing tests. On windows, Netscape and thus probably Mozilla, seems to spin in a hard loop poling for new data while its trying to receive data over the network. This results in 100% CPU utilization and really slows things down. It might just be that it also spins in a hard loop when its waiting for the transmit buffer to empty enough so it can continue to send more data. -Original Message- From: Daniel Washusen [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 11:54 PM To: Struts Users Mailing List Subject: RE: Slow file upload? > Yes, I am using Struts 1.1 and the default upload in commons-fileupload. > The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > half of it free.. The browser I tried the upload with was Mozilla.. > > BTJ > I'm running a P4 1.7 with 512MB of RAM and I can upload a 1.8 MB file in about 1 second and a 8 MB file in about 3 seconds... Struts 1.1, commons-fileupload and Tomcat 4.1.27. Not really much help for you but it would confirm that it all works... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Slow file upload?
http://www.catb.org/~esr/faqs/smart-questions.html You could start by learning some ettiquet.. umm.. etikit, uh.. etiq.. ...some manners and not go around hijacking other peoples topic with an unrelated question. As for making helloworld have you tried to rt*m or st*w yet? What have you done so far? What went wrong? We could help you better if you ask some more specific questions. -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: Tuesday, 16 September 2003 21:27 To: Struts Users Mailing List Subject: Re: Slow file upload? i am a newbie to struts need help intsalling and making a helloworld app run using Tomcat jakarta struts also need help learning to use filters to authenticate a user, Samy Sgarlata Matt <[EMAIL PROTECTED]> wrote:Unfortunately I'm not going to have time to set up this experiment for a few weeks because the app I am currently working on does not require file upload capabilities. I'll do a test in a few weeks and post the results to struts-user. I'm guessing from your response that the costs of encoding/decoding the file so it can be sent over HTTP/MIME is much larger than one would suppose and that this time is greater than the time it takes to send the file over a large connection. Thanks, Matt - Original Message - From: "Robert Leland" To: "Struts Users Mailing List" Sent: Monday, September 15, 2003 10:40 PM Subject: Re: Slow file upload? Sgarlata Matt wrote: >Rob, why is it faster to upload all on one machine instead of going across a >LAN? It seems to me uploading on the same machine should be as fast as a >file copy. What am I missing? > > Try a experiment. Try a fileupload on a single CPU computer, hosting your web app. Then try it again for 2 machines connected by the same local LAN, one running the browser, one the web app. Monitor fileupload time, % free CPU, virtual memory/paging usage, etc. Report back the results. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Slow file upload?
i am a newbie to struts need help intsalling and making a helloworld app run using Tomcat jakarta struts also need help learning to use filters to authenticate a user, Samy Sgarlata Matt <[EMAIL PROTECTED]> wrote:Unfortunately I'm not going to have time to set up this experiment for a few weeks because the app I am currently working on does not require file upload capabilities. I'll do a test in a few weeks and post the results to struts-user. I'm guessing from your response that the costs of encoding/decoding the file so it can be sent over HTTP/MIME is much larger than one would suppose and that this time is greater than the time it takes to send the file over a large connection. Thanks, Matt - Original Message - From: "Robert Leland" To: "Struts Users Mailing List" Sent: Monday, September 15, 2003 10:40 PM Subject: Re: Slow file upload? Sgarlata Matt wrote: >Rob, why is it faster to upload all on one machine instead of going across a >LAN? It seems to me uploading on the same machine should be as fast as a >file copy. What am I missing? > > Try a experiment. Try a fileupload on a single CPU computer, hosting your web app. Then try it again for 2 machines connected by the same local LAN, one running the browser, one the web app. Monitor fileupload time, % free CPU, virtual memory/paging usage, etc. Report back the results. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
Re: Slow file upload?
Unfortunately I'm not going to have time to set up this experiment for a few weeks because the app I am currently working on does not require file upload capabilities. I'll do a test in a few weeks and post the results to struts-user. I'm guessing from your response that the costs of encoding/decoding the file so it can be sent over HTTP/MIME is much larger than one would suppose and that this time is greater than the time it takes to send the file over a large connection. Thanks, Matt - Original Message - From: "Robert Leland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 10:40 PM Subject: Re: Slow file upload? Sgarlata Matt wrote: >Rob, why is it faster to upload all on one machine instead of going across a >LAN? It seems to me uploading on the same machine should be as fast as a >file copy. What am I missing? > > Try a experiment. Try a fileupload on a single CPU computer, hosting your web app. Then try it again for 2 machines connected by the same local LAN, one running the browser, one the web app. Monitor fileupload time, % free CPU, virtual memory/paging usage, etc. Report back the results. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Slow file upload?
Nope On Tue, 2003-09-16 at 08:48, Mohd Amin Mohd Din wrote: > Hmm, just checking, are you doing any processing other than just simply > storing the file. > > -Original Message- > From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 12:51 PM > To: Struts Users Mailing List > Subject: Re: Slow file upload? > > On Tue, 2003-09-16 at 06:19, Robert Leland wrote: > > > Bjørn T Johansen wrote: > > > > >On Tue, 2003-09-16 at 04:12, Robert Leland wrote: > > > > > > > > > > > >>Bjørn T Johansen wrote: > > >> > > >> > > >> > > >>>I am testing file upload using Struts and FormFile but the upload > seems > > >>>really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am > > >>>running both the server and the browser on the same PC. Is this > normal > > >>>or should the upload be faster? > > >>> > > >>> > > >>> > > >>> > > >>Your upload will be slower all on one machine as opposed to going > across > > >>a fast LAN. > > >>However, that does seem slow. I have uploaded a 650MB file in about > 7 > > >>minutes across a LAN. > > >>650MB/7 minutes =~ 1.5 MB/sec. > > >>Are you using Strust 1.1 and the default fileupload implementation > which > > >>is commons-fileupload ? > > >>What browser, How much free RAM, CPU etc.. > > >> > > >> > > >> > > > > > >Yes, I am using Struts 1.1 and the default upload in > commons-fileupload. > > >The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > > >half of it free.. The browser I tried the upload with was Mozilla.. > > > > > > > > > > What does your CPU utilization look like ? > > What does your (physical/virtual) memory utilization look like, what > % > > is available ? > > Is it high, low, which process is taking the most CPU/memory ? > > How many process are running in your JVM(s) and what are the JVM > virtual > > memory settings at startup. > > Usually there is a setting something like -Xm256 for java.exe are > you > > setting this ? > > Look at the docs for java.exe for the exact options, then try > increasing > > say by 50% and see if > > it helps, or crashes your machine because windows doesn't have enough > > Virtual memory to give to the > > JVM. Then you increase Windows virtual memory if needed. > > > > Also note that if Mozilla is like Netscape then it makes a copy of the > > > file before beginning sending it. > > The temp file is either under C:\temp or C:\Documents and > > Settings\User\Local Settings\Temp. > > If it make the copy fairly quickly, less than 1 second, then look at > your > > Well, I am running this on Linux and the load is almost 0, so it's not a > question of the load on my computer.. > But I'll try increasing the memory given to the Java VM when I get home > tonight and also try another browser > > > BTJ > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
RE: Slow file upload?
Hmm, just checking, are you doing any processing other than just simply storing the file. -Original Message- From: Bjørn T Johansen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 12:51 PM To: Struts Users Mailing List Subject: Re: Slow file upload? On Tue, 2003-09-16 at 06:19, Robert Leland wrote: > Bjørn T Johansen wrote: > > >On Tue, 2003-09-16 at 04:12, Robert Leland wrote: > > > > > > > >>Bjørn T Johansen wrote: > >> > >> > >> > >>>I am testing file upload using Struts and FormFile but the upload seems > >>>really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am > >>>running both the server and the browser on the same PC. Is this normal > >>>or should the upload be faster? > >>> > >>> > >>> > >>> > >>Your upload will be slower all on one machine as opposed to going across > >>a fast LAN. > >>However, that does seem slow. I have uploaded a 650MB file in about 7 > >>minutes across a LAN. > >>650MB/7 minutes =~ 1.5 MB/sec. > >>Are you using Strust 1.1 and the default fileupload implementation which > >>is commons-fileupload ? > >>What browser, How much free RAM, CPU etc.. > >> > >> > >> > > > >Yes, I am using Struts 1.1 and the default upload in commons-fileupload. > >The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > >half of it free.. The browser I tried the upload with was Mozilla.. > > > > > > What does your CPU utilization look like ? > What does your (physical/virtual) memory utilization look like, what % > is available ? > Is it high, low, which process is taking the most CPU/memory ? > How many process are running in your JVM(s) and what are the JVM virtual > memory settings at startup. > Usually there is a setting something like -Xm256 for java.exe are you > setting this ? > Look at the docs for java.exe for the exact options, then try increasing > say by 50% and see if > it helps, or crashes your machine because windows doesn't have enough > Virtual memory to give to the > JVM. Then you increase Windows virtual memory if needed. > > Also note that if Mozilla is like Netscape then it makes a copy of the > file before beginning sending it. > The temp file is either under C:\temp or C:\Documents and > Settings\User\Local Settings\Temp. > If it make the copy fairly quickly, less than 1 second, then look at your Well, I am running this on Linux and the load is almost 0, so it's not a question of the load on my computer.. But I'll try increasing the memory given to the Java VM when I get home tonight and also try another browser BTJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Slow file upload?
On Tue, 2003-09-16 at 06:19, Robert Leland wrote: > Bjørn T Johansen wrote: > > >On Tue, 2003-09-16 at 04:12, Robert Leland wrote: > > > > > > > >>Bjørn T Johansen wrote: > >> > >> > >> > >>>I am testing file upload using Struts and FormFile but the upload seems > >>>really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am > >>>running both the server and the browser on the same PC. Is this normal > >>>or should the upload be faster? > >>> > >>> > >>> > >>> > >>Your upload will be slower all on one machine as opposed to going across > >>a fast LAN. > >>However, that does seem slow. I have uploaded a 650MB file in about 7 > >>minutes across a LAN. > >>650MB/7 minutes =~ 1.5 MB/sec. > >>Are you using Strust 1.1 and the default fileupload implementation which > >>is commons-fileupload ? > >>What browser, How much free RAM, CPU etc.. > >> > >> > >> > > > >Yes, I am using Struts 1.1 and the default upload in commons-fileupload. > >The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > >half of it free.. The browser I tried the upload with was Mozilla.. > > > > > > What does your CPU utilization look like ? > What does your (physical/virtual) memory utilization look like, what % > is available ? > Is it high, low, which process is taking the most CPU/memory ? > How many process are running in your JVM(s) and what are the JVM virtual > memory settings at startup. > Usually there is a setting something like -Xm256 for java.exe are you > setting this ? > Look at the docs for java.exe for the exact options, then try increasing > say by 50% and see if > it helps, or crashes your machine because windows doesn't have enough > Virtual memory to give to the > JVM. Then you increase Windows virtual memory if needed. > > Also note that if Mozilla is like Netscape then it makes a copy of the > file before beginning sending it. > The temp file is either under C:\temp or C:\Documents and > Settings\User\Local Settings\Temp. > If it make the copy fairly quickly, less than 1 second, then look at your Well, I am running this on Linux and the load is almost 0, so it's not a question of the load on my computer.. But I'll try increasing the memory given to the Java VM when I get home tonight and also try another browser BTJ
RE: Slow file upload?
On Tue, 2003-09-16 at 05:53, Daniel Washusen wrote: > > Yes, I am using Struts 1.1 and the default upload in commons-fileupload. > > The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > > half of it free.. The browser I tried the upload with was Mozilla.. > > > > BTJ > > > > I'm running a P4 1.7 with 512MB of RAM and I can upload a 1.8 MB file in > about 1 second and a 8 MB file in about 3 seconds... Struts 1.1, > commons-fileupload and Tomcat 4.1.27. Not really much help for you but it > would confirm that it all works... > > > - Hmmm, strange... I am running almost the same, except for better hw. BTJ
Re: Slow file upload?
Bjørn T Johansen wrote: On Tue, 2003-09-16 at 04:12, Robert Leland wrote: Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser on the same PC. Is this normal or should the upload be faster? Your upload will be slower all on one machine as opposed to going across a fast LAN. However, that does seem slow. I have uploaded a 650MB file in about 7 minutes across a LAN. 650MB/7 minutes =~ 1.5 MB/sec. Are you using Strust 1.1 and the default fileupload implementation which is commons-fileupload ? What browser, How much free RAM, CPU etc.. Yes, I am using Struts 1.1 and the default upload in commons-fileupload. The hw I am running on is a 2.4GHz PC with 1GB memory, with at least half of it free.. The browser I tried the upload with was Mozilla.. What does your CPU utilization look like ? What does your (physical/virtual) memory utilization look like, what % is available ? Is it high, low, which process is taking the most CPU/memory ? How many process are running in your JVM(s) and what are the JVM virtual memory settings at startup. Usually there is a setting something like -Xm256 for java.exe are you setting this ? Look at the docs for java.exe for the exact options, then try increasing say by 50% and see if it helps, or crashes your machine because windows doesn't have enough Virtual memory to give to the JVM. Then you increase Windows virtual memory if needed. Also note that if Mozilla is like Netscape then it makes a copy of the file before beginning sending it. The temp file is either under C:\temp or C:\Documents and Settings\User\Local Settings\Temp. If it make the copy fairly quickly, less than 1 second, then look at your BTJ -Rob
RE: Slow file upload?
> Yes, I am using Struts 1.1 and the default upload in commons-fileupload. > The hw I am running on is a 2.4GHz PC with 1GB memory, with at least > half of it free.. The browser I tried the upload with was Mozilla.. > > BTJ > I'm running a P4 1.7 with 512MB of RAM and I can upload a 1.8 MB file in about 1 second and a 8 MB file in about 3 seconds... Struts 1.1, commons-fileupload and Tomcat 4.1.27. Not really much help for you but it would confirm that it all works... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Slow file upload?
On Tue, 2003-09-16 at 04:12, Robert Leland wrote: > Bjørn T Johansen wrote: > > >I am testing file upload using Struts and FormFile but the upload seems > >really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am > >running both the server and the browser on the same PC. Is this normal > >or should the upload be faster? > > > > > Your upload will be slower all on one machine as opposed to going across > a fast LAN. > However, that does seem slow. I have uploaded a 650MB file in about 7 > minutes across a LAN. > 650MB/7 minutes =~ 1.5 MB/sec. > Are you using Strust 1.1 and the default fileupload implementation which > is commons-fileupload ? > What browser, How much free RAM, CPU etc.. > Yes, I am using Struts 1.1 and the default upload in commons-fileupload. The hw I am running on is a 2.4GHz PC with 1GB memory, with at least half of it free.. The browser I tried the upload with was Mozilla.. BTJ
Re: Slow file upload?
Sgarlata Matt wrote: Rob, why is it faster to upload all on one machine instead of going across a LAN? It seems to me uploading on the same machine should be as fast as a file copy. What am I missing? Try a experiment. Try a fileupload on a single CPU computer, hosting your web app. Then try it again for 2 machines connected by the same local LAN, one running the browser, one the web app. Monitor fileupload time, % free CPU, virtual memory/paging usage, etc. Report back the results. -Rob Thanks, Matt - Original Message - From: "Robert Leland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 10:12 PM Subject: Re: Slow file upload? Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser on the same PC. Is this normal or should the upload be faster? Your upload will be slower all on one machine as opposed to going across a fast LAN. However, that does seem slow. I have uploaded a 650MB file in about 7 minutes across a LAN. 650MB/7 minutes =~ 1.5 MB/sec. Are you using Strust 1.1 and the default fileupload implementation which is commons-fileupload ? What browser, How much free RAM, CPU etc.. BTJ -Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Slow file upload?
Rob, why is it faster to upload all on one machine instead of going across a LAN? It seems to me uploading on the same machine should be as fast as a file copy. What am I missing? Thanks, Matt - Original Message - From: "Robert Leland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, September 15, 2003 10:12 PM Subject: Re: Slow file upload? Bjørn T Johansen wrote: >I am testing file upload using Struts and FormFile but the upload seems >really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am >running both the server and the browser on the same PC. Is this normal >or should the upload be faster? > > Your upload will be slower all on one machine as opposed to going across a fast LAN. However, that does seem slow. I have uploaded a 650MB file in about 7 minutes across a LAN. 650MB/7 minutes =~ 1.5 MB/sec. Are you using Strust 1.1 and the default fileupload implementation which is commons-fileupload ? What browser, How much free RAM, CPU etc.. >BTJ > > -Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Slow file upload?
Bjørn T Johansen wrote: I am testing file upload using Struts and FormFile but the upload seems really slow. Uploading a 1,5MB file takes about 15-20 sec. and I am running both the server and the browser on the same PC. Is this normal or should the upload be faster? Your upload will be slower all on one machine as opposed to going across a fast LAN. However, that does seem slow. I have uploaded a 650MB file in about 7 minutes across a LAN. 650MB/7 minutes =~ 1.5 MB/sec. Are you using Strust 1.1 and the default fileupload implementation which is commons-fileupload ? What browser, How much free RAM, CPU etc.. BTJ -Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]