Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'git clone' runs slowly after using bittorrent [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
twilight0x7bb
n00b
n00b


Joined: 05 Dec 2004
Posts: 5

PostPosted: Fri Sep 19, 2008 12:50 am    Post subject: 'git clone' runs slowly after using bittorrent [solved] Reply with quote

I've been trying to use layman to work with overlays and none of the overlays that are on the git protocol will download. The download slowly gets to a small percentage and then stalls. This problem exists on any of the gentoo computers on my network and on the gentoo router I use.

ex:
Code:

cheshirecat twilight # layman -a desktop-effects
* Running command "/usr/bin/git clone "git://git.overlays.gentoo.org/proj/desktop-effects.git/" "/usr/local/portage/layman/desktop-effects""...
Initialized empty Git repository in /usr/local/portage/layman/desktop-effects/.git/
remote: Counting objects: 6225, done.
remote: Compressing objects: 100% (3346/3346), done.
Receiving objects:   3% (187/6225), 35.99 KiB   1 KiB/s   


the download will just sit like this indefinately if I leave it.

The strange part is that if I change the mac address on the router so I get a new ip and don't start torrents git opperates normally until I start a torrent. It makes no difference if I start torrents on the router or if I start them on a gentoo system behind it. No gentoo computers can use git after any torrent software has been run on any computer. Another really strange thing is that I can still use git with the windows client on a windows xp computer behind the firewall after git stops working on the gentoo computers. I am at a loss why the windows computer wouldn't be affected while all the gentoo computers would. Even if I run torrents on only one computer, all the gentoo computers break but the windows computer is completely unaffected. Also, even after I stop all torrent clients, git still will not work even if I leave the network idle for 24 hours. I must obtain a new ip to download with git.

Some things I've tried:
-I put a hardware router in place of my gentoo router with no difference. All gentoo computers are still affected if one downloads torrents.
-I tried QoS on the hardware router. I can't figure out how to set this up with shorewall though I don't see how this should be necessary anyway.
-I turned on Syn Cookies.
-Various versions of git with all possible use flag permutations.
-Different network cards in the gentoo router.

edit: It just occurred to me that I should include my kernel config. This is my router though the only thing different for the other gentoo machines is minor hardware differences and the exclusion of routing options.
http://twilight.endoftheinternet.org/~twilight/kernel_config


Last edited by twilight0x7bb on Wed Sep 24, 2008 7:39 am; edited 1 time in total
Back to top
View user's profile Send private message
twilight0x7bb
n00b
n00b


Joined: 05 Dec 2004
Posts: 5

PostPosted: Fri Sep 19, 2008 1:21 am    Post subject: Reply with quote

loftwyr wrote:
Have you considered that it might be your ISP throttling your bandwidth?


I have. There are no speed issues with torrents. In fact I get excellent speeds. http transfers are very fast also. Pretty much every protocol can deliver very nice speeds (up to 1.5 Mbyte/sec here) with no difference if I run bittorrent or not. Git seems to be the only protocol affected. (well emerge --sync isn't blazing fast but it's acceptable). Subversion works without any slowdowns at all also. For good measure, I put a new network card in my router and moved all torrent servers to above 51452 and only allowed in encrypted connections. There was no difference in result.
Back to top
View user's profile Send private message
twilight0x7bb
n00b
n00b


Joined: 05 Dec 2004
Posts: 5

PostPosted: Wed Sep 24, 2008 7:39 am    Post subject: Reply with quote

solved:
solution was to set number of connection setups to 10 in ktorrent

It turns out I just had too many open connections.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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