RE: ZeroCopyPut mystery

2014-05-05 Thread Boxer, Aaron
, and time to upload is just the time to read the files from DVD. Cheers, Aaron -Original Message- From: Boxer, Aaron Sent: Friday, January 17, 2014 3:26 PM To: HttpClient User Discussion Subject: RE: ZeroCopyPut mystery On Fri, 2014-01-17 at 16:28 +, Boxer, Aaron wrote: >

RE: ZeroCopyPut mystery

2014-01-17 Thread Boxer, Aaron
On Fri, 2014-01-17 at 16:28 +, Boxer, Aaron wrote: > I made a simple test: I wrote a few lines of Java using File channel and > transferTo(...) method to read files from my DVD and write to the hard drive. > With this simple test, the transferTo(...) method gets about 4 MB /S > transfe

RE: ZeroCopyPut mystery

2014-01-17 Thread Boxer, Aaron
On Fri, 2014-01-17 at 16:28 +, Boxer, Aaron wrote: > I made a simple test: I wrote a few lines of Java using File channel and > transferTo(...) method to read files from my DVD and write to the hard drive. > With this simple test, the transferTo(...) method gets about 4 MB /S > transfe

Re: ZeroCopyPut mystery

2014-01-17 Thread Oleg Kalnichevski
On Fri, 2014-01-17 at 16:28 +, Boxer, Aaron wrote: > I made a simple test: I wrote a few lines of Java using File channel and > transferTo(...) method to read files from my DVD and write to the hard drive. > With this simple test, the transferTo(...) method gets about 4 MB /S > transfer

RE: ZeroCopyPut mystery

2014-01-17 Thread Boxer, Aaron
I made a simple test: I wrote a few lines of Java using File channel and transferTo(...) method to read files from my DVD and write to the hard drive. With this simple test, the transferTo(...) method gets about 4 MB /S transfer rate to disk. Then, I put some timing code into the LengthDel

RE: ZeroCopyPut mystery

2014-01-16 Thread Boxer, Aaron
haps it has to do with buffer size, thread count, . ? >> >> -Original Message- >> From: Oleg Kalnichevski [mailto:ol...@apache.org] >> Sent: Thursday, January 16, 2014 11:15 AM >> To: HttpClient User Discussion >> Subject: Re: ZeroCopyPut mystery >&g

RE: ZeroCopyPut mystery

2014-01-16 Thread Boxer, Aaron
"Boxer, Aaron" wrote: >Thanks, Oleg. I am not trying to criticize the project in any way; just >wondering if anyone has insight into why, on Windows, Java NIO is so >much slower than stream IO. > >Perhaps it has to do with buffer size, thread count, . ? > You are welcome to criticize. I am

RE: ZeroCopyPut mystery

2014-01-16 Thread Oleg Kalnichevski
"Boxer, Aaron" wrote: >Thanks, Oleg. I am not trying to criticize the project in any way; just >wondering if anyone has insight into why, on Windows, >Java NIO is so much slower than stream IO. > >Perhaps it has to do with buffer size, thread count, . ? > You are welcome to criticize. I am

Re: ZeroCopyPut mystery

2014-01-16 Thread sebb
apache.org] >> Sent: Thursday, January 16, 2014 11:15 AM >> To: HttpClient User Discussion >> Subject: Re: ZeroCopyPut mystery >> >> On Thu, 2014-01-16 at 04:33 +, Boxer, Aaron wrote: >>> Hello, >>> >>> When I use ZeroCopyPut with hard d

RE: ZeroCopyPut mystery

2014-01-16 Thread Boxer, Aaron
post how I am configuring the clients? > Perhaps it has to do with buffer size, thread count, . ? > > -Original Message- > From: Oleg Kalnichevski [mailto:ol...@apache.org] > Sent: Thursday, January 16, 2014 11:15 AM > To: HttpClient User Discussion > Subject:

Re: ZeroCopyPut mystery

2014-01-16 Thread sebb
y 16, 2014 11:15 AM > To: HttpClient User Discussion > Subject: Re: ZeroCopyPut mystery > > On Thu, 2014-01-16 at 04:33 +, Boxer, Aaron wrote: >> Hello, >> >> When I use ZeroCopyPut with hard drive (spinning disk ) disk files, I get a >> network trans

RE: ZeroCopyPut mystery

2014-01-16 Thread Boxer, Aaron
...@apache.org] Sent: Thursday, January 16, 2014 11:15 AM To: HttpClient User Discussion Subject: Re: ZeroCopyPut mystery On Thu, 2014-01-16 at 04:33 +, Boxer, Aaron wrote: > Hello, > > When I use ZeroCopyPut with hard drive (spinning disk ) disk files, I get a > network transfer r

Re: ZeroCopyPut mystery

2014-01-16 Thread Oleg Kalnichevski
On Thu, 2014-01-16 at 04:33 +, Boxer, Aaron wrote: > Hello, > > When I use ZeroCopyPut with hard drive (spinning disk ) disk files, I get a > network transfer rate of about 250 MBPS for first time read of files; 850 > MBPS if the files are already in the Windows OS file cache. Synchronous pu

ZeroCopyPut mystery

2014-01-15 Thread Boxer, Aaron
Hello, When I use ZeroCopyPut with hard drive (spinning disk ) disk files, I get a network transfer rate of about 250 MBPS for first time read of files; 850 MBPS if the files are already in the Windows OS file cache. Synchronous put gives me about 30 MBPS. But, when I am dealing with files on