Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to transfer small files?

Reply
Thread Tools Display Modes

how to transfer small files?

 
 
Marco
Guest
Posts: n/a

 
      10-07-2008, 01:32 PM
Hi all, I have to checkout 100000 files from an internal repository
and the operation is very slow. Both server and client nics are
gigabit full duplex, no errors detected by any side.

I believe the problem is the tcp overhead created by the tcp protocol
for each small file.

Could you suggest me another protocol or a solution to checkout a huge
quantity of small files?
Maybe I could force to use udp but it's not a solution because it
doesn't grant the integrity..


Regards


Marco Strullato
 
Reply With Quote
 
 
 
 
Tobias Skytte
Guest
Posts: n/a

 
      10-07-2008, 01:44 PM
Marco skrev:
> Hi all, I have to checkout 100000 files from an internal repository
> and the operation is very slow. Both server and client nics are
> gigabit full duplex, no errors detected by any side.
>
> I believe the problem is the tcp overhead created by the tcp protocol
> for each small file.
>
> Could you suggest me another protocol or a solution to checkout a huge
> quantity of small files?
> Maybe I could force to use udp but it's not a solution because it
> doesn't grant the integrity..
>
>
> Regards
>
>
> Marco Strullato


It is most likely the tcp overhead causing you the slow transfer as you
say. Cant you zip the files first into one large archive and then
transfer it?

Cheers,
Tobias Skytte
 
Reply With Quote
 
Marco
Guest
Posts: n/a

 
      10-07-2008, 01:48 PM
Unfortunately the operation is a checkout so I can not compress
files...


> It is most likely the tcp overhead causing you the slow transfer as you
> say. Cant you zip the files first into one large archive and then
> transfer it?



Marco Strullato
 
Reply With Quote
 
Alex Buell
Guest
Posts: n/a

 
      10-07-2008, 02:21 PM
On Tue, 7 Oct 2008 06:48:54 -0700 (PDT), I waved a wand and this
message magically appears in front of Marco:

> Unfortunately the operation is a checkout so I can not compress
> files...


If you're using cvs, there's the -z9 option to compress files.
--
http://www.munted.org.uk

Fearsome grindings.

 
Reply With Quote
 
Grant
Guest
Posts: n/a

 
      10-08-2008, 01:28 AM
On Tue, 07 Oct 2008 20:01:38 -0400, Maxwell Lol <(E-Mail Removed)> wrote:

>Alex Buell <(E-Mail Removed)> writes:
>
>> On Tue, 7 Oct 2008 06:48:54 -0700 (PDT), I waved a wand and this
>> message magically appears in front of Marco:
>>
>>> Unfortunately the operation is a checkout so I can not compress
>>> files...

>>
>> If you're using cvs, there's the -z9 option to compress files.

>
>Does that compress individual files? If so, I'm not sure that will
>help that much. You still have the overhead of opening the
>connection.
>
>Marco - sometimes you have to start the process, and walk away from the
>computer. Come back the next morning......


That's too easy, want it now! )

Grant.
--
http://bugsplatter.id.au/
 
Reply With Quote
 
Tobias Skytte
Guest
Posts: n/a

 
      10-08-2008, 06:53 AM
Marco skrev:
> Unfortunately the operation is a checkout so I can not compress
> files...
>
>
>> It is most likely the tcp overhead causing you the slow transfer as you
>> say. Cant you zip the files first into one large archive and then
>> transfer it?

>
>
> Marco Strullato


Ok, is it Subversion or something? Maybe checkout the files locally
first then zip them (the entire directory) and transfer and unzip. In
svn there are commandline tools to do that, so you can automate it with
a script.

Regards,
Tobias
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Only small FTP files can be downloaded Thomas Zaruba Windows Networking 1 10-17-2007 10:18 AM
transfer files between ME & XP Laurie Windows Networking 1 07-03-2004 05:43 PM
transfer files michelle Broadband Hardware 2 06-26-2004 10:51 PM
Transfer files to new PC Barbara Windows Networking 2 01-11-2004 11:24 PM
? using wi-fi to transfer files between PCs Paul Wireless Internet 22 12-29-2003 11:11 PM



1 2 3 4 5 6 7 8 9 10 11