Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Small File copy performance?

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
swyck



Joined: 19 Jun 2008
Posts: 3

PostPosted: Thu Oct 30, 2008 6:10 pm    Post subject: Small File copy performance? Reply with quote

I've run some tests on WAN file copies (Backups). When copying large files, at least 1 MB in size, I can get nice bandwidth performance up to 10 MB\sec when using larger buffer sizes.

However when I copy numerous small files, 1KB in size or so, I see the bandwidth drop to around 5-6 KB/sec. That is a very large performance hit for small files.

Is there anything that can be done to increase performance when copying smaller files? I don't have much control over the makeup of the source files, and there may be larger numbers of small files or small numbers of very large files (>1GB).

Here are the results of copying about 1MB worth of files using 2097152 buffer size. Using smaller buffer sizes does not increase performance of smaller file sizes but does decrease performance for larger sizes.

1kb 5.3kb/sec
10kb 38kb/sec
100kb 420kb/sec
1mb 5200kb/sec
50mb 10520kb/sec
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Fri Oct 31, 2008 3:20 am    Post subject: Reply with quote

Hello swyck,

it's normal to get slower speed while copying very small files. The overhead is with opening, closing, changing the timestamp of files. For very small files that overhead may account to up to 99% of the total copy time!

The ViceVersa PRO copy speed should be comparable to what you get with Windows Explorer.

thanks!
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
swyck



Joined: 19 Jun 2008
Posts: 3

PostPosted: Fri Oct 31, 2008 2:32 pm    Post subject: Reply with quote

TGRMN Software wrote:
Hello swyck,

it's normal to get slower speed while copying very small files. The overhead is with opening, closing, changing the timestamp of files. For very small files that overhead may account to up to 99% of the total copy time!

The ViceVersa PRO copy speed should be comparable to what you get with Windows Explorer.

thanks!


I did some tests and found that XCopy also slows down a lot for smaller files. However it was about 3x as fast as ViceVersa Pro -- 274 B/Sec vs about 800 B/sec. This was a test of copying 100 1.2k files to a remote site with about 86ms latency.
Back to top
swyck



Joined: 19 Jun 2008
Posts: 3

PostPosted: Fri Oct 31, 2008 3:04 pm    Post subject: Reply with quote

swyck wrote:
TGRMN Software wrote:
Hello swyck,

it's normal to get slower speed while copying very small files. The overhead is with opening, closing, changing the timestamp of files. For very small files that overhead may account to up to 99% of the total copy time!

The ViceVersa PRO copy speed should be comparable to what you get with Windows Explorer.

thanks!


I did some tests and found that XCopy also slows down a lot for smaller files. However it was about 3x as fast as ViceVersa Pro -- 274 B/Sec vs about 800 B/sec. This was a test of copying 100 1.2k files to a remote site with about 86ms latency.

I was able to get performance equivalent to xcopy if I select "copy directly to destination file".
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: