Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Fetch Performance
Fetch Performance [message #1336768] Tue, 06 May 2014 15:03 Go to next message
Stephan Klein is currently offline Stephan KleinFriend
Messages: 2
Registered: May 2014
Junior Member
Hi,

I created a small Git Repo (< 30 Files&Dirs) on a server (in the local network) with ssh access, and a clone of the repo on my local machine where eclipse/egit is running. SSH Key of my local machine is stored at this server.

Git Fetch of this repo from Command Line (mysysgit) works like a charm (< 3 seconds)
In Egit Fetch (from upstream) takes around 30 Seconds.

I executed jstack during the fetch is running and this is the output:
"Worker-4" #31 prio=5 os_prio=0 tid=0x26e9a800 nid=0x22cc runnable [0x2928f000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at com.jcraft.jsch.IO.getByte(IO.java:73)
at com.jcraft.jsch.Session.connect(Session.java:263)
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
- locked <0x14ca3e90> (a org.eclipse.egit.ui.EclipseSshSessionFactory)
at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
at org.eclipse.egit.core.op.FetchOperation.run(FetchOperation.java:134)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI.execute(FetchOperationUI.java:103)
at org.eclipse.egit.ui.internal.fetch.FetchOperationUI$1.runInWorkspace(FetchOperationUI.java:123)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)


Any ideas how fetch can be speeded up ?

My Configuration is:
- Windows 7 x64
- Eclipse Kepler Service Release 2 (32 bit Version)
- Java 1.7.0_45 (32 bit Version)
- Egit Latest Nightly (3.4.0.201405052355)
Re: Fetch Performance [message #1336861 is a reply to message #1336768] Tue, 06 May 2014 15:56 Go to previous message
Stephan Klein is currently offline Stephan KleinFriend
Messages: 2
Registered: May 2014
Junior Member
Forgot to mention that the fetch does not retrieve any user data because the repository is up to date in my case.
Previous Topic:change directly in the compare editor will directly be added to index
Next Topic:Quickdiff by comit Changes (like in Aptana)
Goto Forum:
  


Current Time: Tue Apr 23 07:05:18 GMT 2024

Powered by FUDForum. Page generated in 0.03332 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top