All of lore.kernel.org
 help / color / mirror / Atom feed
* windows problems summary
@ 2006-03-02 14:49 Alex Riesen
  2006-03-02 15:23 ` Christopher Faylor
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Alex Riesen @ 2006-03-02 14:49 UTC (permalink / raw)
  To: Git Mailing List

This is just to summarize all the problems which make porting to that
thing so boring. Maybe if we have them all on one page, it'd be easier
to locate the workarounds (it can be one thread, for example).

1. opened and mmaped files can't be removed or renamed
  (caused workaround with reading index in memory)
2. command can safely contain only one argument
  (breaks and complicates passing things between processes)
3. no fork
  (slows down and complicates passing things between processes)
4. non-unix permissions model
  (breaks x-attr)
5. real slow filesystems and caching
  (makes everything slow. I noticed I'm trying to avoid git status!).
  Caused workaround with manual checkout)
6. real slow program startup
  (makes everything slow, eventually may cause everything being put
  in one super-executable, just to avoid spawning new processes,
  with all associated problems. Makes scripting harder)

I hope this message can be a start of a big porting thread,
even though it is only about windows at the moment.

Alex Riesen

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 14:49 windows problems summary Alex Riesen
@ 2006-03-02 15:23 ` Christopher Faylor
  2006-03-02 15:35   ` Alex Riesen
  2006-03-02 15:38 ` Johannes Schindelin
  2006-03-31 19:25 ` Eric W. Biederman
  2 siblings, 1 reply; 14+ messages in thread
From: Christopher Faylor @ 2006-03-02 15:23 UTC (permalink / raw)
  To: Alex Riesen, Git Mailing List

On Thu, Mar 02, 2006 at 03:49:24PM +0100, Alex Riesen wrote:
>This is just to summarize all the problems which make porting to that
>thing so boring. Maybe if we have them all on one page, it'd be easier
>to locate the workarounds (it can be one thread, for example).
>
>1. opened and mmaped files can't be removed or renamed
>  (caused workaround with reading index in memory)
>2. command can safely contain only one argument
>  (breaks and complicates passing things between processes)
>3. no fork
>  (slows down and complicates passing things between processes)
>4. non-unix permissions model
>  (breaks x-attr)
>5. real slow filesystems and caching
>  (makes everything slow. I noticed I'm trying to avoid git status!).
>  Caused workaround with manual checkout)
>6. real slow program startup
>  (makes everything slow, eventually may cause everything being put
>  in one super-executable, just to avoid spawning new processes,
>  with all associated problems. Makes scripting harder)
>
>I hope this message can be a start of a big porting thread,
>even though it is only about windows at the moment.

Are we *really* contemplating porting git to native Windows?

I guess I missed that memo.

cgf

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 15:23 ` Christopher Faylor
@ 2006-03-02 15:35   ` Alex Riesen
  2006-03-02 15:57     ` Bertrand Jacquin
                       ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Alex Riesen @ 2006-03-02 15:35 UTC (permalink / raw)
  To: Christopher Faylor; +Cc: Git Mailing List

On 3/2/06, Christopher Faylor <me@cgf.cx> wrote:
>
> Are we *really* contemplating porting git to native Windows?
>

Actually, I wasn't thinking about that when I was writing that mail,
but ... why not?
Cygwin makes syscalls many times slower, git is very slow on
windows, users (well, I) want it faster, so if the needed api subset
can be narrowed down to a reasonable amount of work - I think
I'd give the idea a try.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 14:49 windows problems summary Alex Riesen
  2006-03-02 15:23 ` Christopher Faylor
@ 2006-03-02 15:38 ` Johannes Schindelin
  2006-03-02 16:33   ` Alex Riesen
  2006-03-31 19:25 ` Eric W. Biederman
  2 siblings, 1 reply; 14+ messages in thread
From: Johannes Schindelin @ 2006-03-02 15:38 UTC (permalink / raw)
  To: Alex Riesen; +Cc: Git Mailing List

Hi,

On Thu, 2 Mar 2006, Alex Riesen wrote:

> 1. opened and mmaped files can't be removed or renamed
>   (caused workaround with reading index in memory)

It was not the locking which caused the workaround. It was the 
not-working. (I still have to find a Windows machine where git-whatchanged 
does not segfault without NO_MMAP.)

> 2. command can safely contain only one argument
>   (breaks and complicates passing things between processes)
> 3. no fork
>   (slows down and complicates passing things between processes)
> 4. non-unix permissions model
>   (breaks x-attr)
> 5. real slow filesystems and caching
>   (makes everything slow. I noticed I'm trying to avoid git status!).
>   Caused workaround with manual checkout)
> 6. real slow program startup
>   (makes everything slow, eventually may cause everything being put
>   in one super-executable, just to avoid spawning new processes,
>   with all associated problems. Makes scripting harder)

Except for (4), these issues should be resolvable by the libifying effort.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 15:35   ` Alex Riesen
@ 2006-03-02 15:57     ` Bertrand Jacquin
  2006-03-02 19:54       ` Alex Riesen
  2006-03-02 16:01     ` Andreas Ericsson
  2006-03-02 16:51     ` Shawn Pearce
  2 siblings, 1 reply; 14+ messages in thread
From: Bertrand Jacquin @ 2006-03-02 15:57 UTC (permalink / raw)
  To: Alex Riesen; +Cc: Christopher Faylor, Git Mailing List

On 3/2/06, Alex Riesen <raa.lkml@gmail.com> wrote:
> On 3/2/06, Christopher Faylor <me@cgf.cx> wrote:
> >
> > Are we *really* contemplating porting git to native Windows?
> >
>
> Actually, I wasn't thinking about that when I was writing that mail,
> but ... why not?
> Cygwin makes syscalls many times slower, git is very slow on
> windows, users (well, I) want it faster, so if the needed api subset
> can be narrowed down to a reasonable amount of work - I think
> I'd give the idea a try.

Is the goal to have something like a git-turtoise (as {svn,cvs}-turtoise) ?
I personaly think that is could be benefic.

--
Beber
#e.fr@freenode

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 15:35   ` Alex Riesen
  2006-03-02 15:57     ` Bertrand Jacquin
@ 2006-03-02 16:01     ` Andreas Ericsson
  2006-03-02 16:26       ` Alex Riesen
  2006-03-02 16:51     ` Shawn Pearce
  2 siblings, 1 reply; 14+ messages in thread
From: Andreas Ericsson @ 2006-03-02 16:01 UTC (permalink / raw)
  To: Alex Riesen; +Cc: Christopher Faylor, Git Mailing List

Alex Riesen wrote:
> On 3/2/06, Christopher Faylor <me@cgf.cx> wrote:
> 
>>Are we *really* contemplating porting git to native Windows?
>>
> 
> 
> Actually, I wasn't thinking about that when I was writing that mail,
> but ... why not?


For the same reason we don't support Perl 5.4. It's too much effort for 
too little gain. OTOH, if you want to do the effort, I won't mind taking 
the gain. ;)

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 16:01     ` Andreas Ericsson
@ 2006-03-02 16:26       ` Alex Riesen
  0 siblings, 0 replies; 14+ messages in thread
From: Alex Riesen @ 2006-03-02 16:26 UTC (permalink / raw)
  To: Andreas Ericsson; +Cc: Christopher Faylor, Git Mailing List

On 3/2/06, Andreas Ericsson <ae@op5.se> wrote:
> >>Are we *really* contemplating porting git to native Windows?
> >
> > Actually, I wasn't thinking about that when I was writing that mail,
> > but ... why not?
>
> For the same reason we don't support Perl 5.4. It's too much effort for
> too little gain. OTOH, if you want to do the effort, I won't mind taking
> the gain. ;)

I don't care. I just have nothing for you to gain from yet.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 15:38 ` Johannes Schindelin
@ 2006-03-02 16:33   ` Alex Riesen
  2006-03-02 17:33     ` Johannes Schindelin
  0 siblings, 1 reply; 14+ messages in thread
From: Alex Riesen @ 2006-03-02 16:33 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Git Mailing List

On 3/2/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
>
> > 1. opened and mmaped files can't be removed or renamed
> >   (caused workaround with reading index in memory)
>
> It was not the locking which caused the workaround. It was the
> not-working. (I still have to find a Windows machine where git-whatchanged
> does not segfault without NO_MMAP.)

me too. It crashes everywhere here.

> > 4. non-unix permissions model
> >   (breaks x-attr)
> > 5. real slow filesystems and caching
> >   (makes everything slow. I noticed I'm trying to avoid git status!).
> >   Caused workaround with manual checkout)
> > 6. real slow program startup
> >   (makes everything slow, eventually may cause everything being put
> >   in one super-executable, just to avoid spawning new processes,
> >   with all associated problems. Makes scripting harder)
>
> Except for (4), these issues should be resolvable by the libifying effort.
>

How can it help with 5? Less accesses to index?

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 15:35   ` Alex Riesen
  2006-03-02 15:57     ` Bertrand Jacquin
  2006-03-02 16:01     ` Andreas Ericsson
@ 2006-03-02 16:51     ` Shawn Pearce
  2 siblings, 0 replies; 14+ messages in thread
From: Shawn Pearce @ 2006-03-02 16:51 UTC (permalink / raw)
  To: Alex Riesen; +Cc: Christopher Faylor, Git Mailing List

Alex Riesen <raa.lkml@gmail.com> wrote:
> On 3/2/06, Christopher Faylor <me@cgf.cx> wrote:
> >
> > Are we *really* contemplating porting git to native Windows?
> >
> 
> Actually, I wasn't thinking about that when I was writing that mail,
> but ... why not?
> Cygwin makes syscalls many times slower, git is very slow on
> windows, users (well, I) want it faster, so if the needed api subset
> can be narrowed down to a reasonable amount of work - I think
> I'd give the idea a try.

I'd certainly appreciate faster response times from GIT on Windows.
Hell, I'd port GIT myself and cross my fingers that Junio, et. al.
would be open to accepting the changes into the tree.

But right now I don't really have a Windows development environment
available to me that I can hack on releasable changes from (damn
lawyers and those agreements about things on work computers being
owned by work).  If I get time I'll try rebuilding a system at
home that is currently offline due to failed disk as a Windows
development environment.

-- 
Shawn.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 16:33   ` Alex Riesen
@ 2006-03-02 17:33     ` Johannes Schindelin
  0 siblings, 0 replies; 14+ messages in thread
From: Johannes Schindelin @ 2006-03-02 17:33 UTC (permalink / raw)
  To: Alex Riesen; +Cc: Git Mailing List

Hi,

On Thu, 2 Mar 2006, Alex Riesen wrote:

> On 3/2/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> >
> > > 1. opened and mmaped files can't be removed or renamed
> > >   (caused workaround with reading index in memory)
> >
> > It was not the locking which caused the workaround. It was the
> > not-working. (I still have to find a Windows machine where git-whatchanged
> > does not segfault without NO_MMAP.)
> 
> me too. It crashes everywhere here.
> 
> > > 4. non-unix permissions model
> > >   (breaks x-attr)
> > > 5. real slow filesystems and caching
> > >   (makes everything slow. I noticed I'm trying to avoid git status!).
> > >   Caused workaround with manual checkout)
> > > 6. real slow program startup
> > >   (makes everything slow, eventually may cause everything being put
> > >   in one super-executable, just to avoid spawning new processes,
> > >   with all associated problems. Makes scripting harder)
> >
> > Except for (4), these issues should be resolvable by the libifying effort.
> >
> 
> How can it help with 5? Less accesses to index?

Exactly.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 15:57     ` Bertrand Jacquin
@ 2006-03-02 19:54       ` Alex Riesen
  2006-03-02 19:59         ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: Alex Riesen @ 2006-03-02 19:54 UTC (permalink / raw)
  To: Bertrand Jacquin; +Cc: Christopher Faylor, Git Mailing List

Bertrand Jacquin, Thu, Mar 02, 2006 16:57:42 +0100:
> 
> Is the goal to have something like a git-turtoise (as {svn,cvs}-turtoise) ?
> I personaly think that is could be benefic.
> 

Not in the original post.
It just about making git faster and more stable in Windows.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 19:54       ` Alex Riesen
@ 2006-03-02 19:59         ` Christopher Faylor
  2006-03-02 20:07           ` Andreas Ericsson
  0 siblings, 1 reply; 14+ messages in thread
From: Christopher Faylor @ 2006-03-02 19:59 UTC (permalink / raw)
  To: Git Mailing List

On Thu, Mar 02, 2006 at 08:54:50PM +0100, Alex Riesen wrote:
>Bertrand Jacquin, Thu, Mar 02, 2006 16:57:42 +0100:
>>Is the goal to have something like a git-turtoise (as
>>{svn,cvs}-turtoise) ?  I personaly think that is could be benefic.
>
>Not in the original post.  It just about making git faster and more
>stable in Windows.

Can I request that people stop cc'ing me in this thread?

I'd like to cut down on the blood pressure medication if I can.

cgf

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 19:59         ` Christopher Faylor
@ 2006-03-02 20:07           ` Andreas Ericsson
  0 siblings, 0 replies; 14+ messages in thread
From: Andreas Ericsson @ 2006-03-02 20:07 UTC (permalink / raw)
  To: Git Mailing List

Christopher Faylor wrote:
> On Thu, Mar 02, 2006 at 08:54:50PM +0100, Alex Riesen wrote:
> 
>>Bertrand Jacquin, Thu, Mar 02, 2006 16:57:42 +0100:
>>
>>>Is the goal to have something like a git-turtoise (as
>>>{svn,cvs}-turtoise) ?  I personaly think that is could be benefic.
>>
>>Not in the original post.  It just about making git faster and more
>>stable in Windows.
> 
> 
> Can I request that people stop cc'ing me in this thread?
> 

That's most likely because people hit "reply all" so the reply goes to 
the list as well. A "normal" reply would go only to you.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: windows problems summary
  2006-03-02 14:49 windows problems summary Alex Riesen
  2006-03-02 15:23 ` Christopher Faylor
  2006-03-02 15:38 ` Johannes Schindelin
@ 2006-03-31 19:25 ` Eric W. Biederman
  2 siblings, 0 replies; 14+ messages in thread
From: Eric W. Biederman @ 2006-03-31 19:25 UTC (permalink / raw)
  To: Alex Riesen; +Cc: Git Mailing List

"Alex Riesen" <raa.lkml@gmail.com> writes:

> This is just to summarize all the problems which make porting to that
> thing so boring. Maybe if we have them all on one page, it'd be easier
> to locate the workarounds (it can be one thread, for example).
>
> 1. opened and mmaped files can't be removed or renamed
>   (caused workaround with reading index in memory)
> 2. command can safely contain only one argument
>   (breaks and complicates passing things between processes)
> 3. no fork
>   (slows down and complicates passing things between processes)
> 4. non-unix permissions model
>   (breaks x-attr)
> 5. real slow filesystems and caching
>   (makes everything slow. I noticed I'm trying to avoid git status!).
>   Caused workaround with manual checkout)
> 6. real slow program startup
>   (makes everything slow, eventually may cause everything being put
>   in one super-executable, just to avoid spawning new processes,
>   with all associated problems. Makes scripting harder)
>
> I hope this message can be a start of a big porting thread,
> even though it is only about windows at the moment.

Not to forget make install gets confused when there
is a file named INSTALL in the git directory.

Eric

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-03-31 19:26 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-02 14:49 windows problems summary Alex Riesen
2006-03-02 15:23 ` Christopher Faylor
2006-03-02 15:35   ` Alex Riesen
2006-03-02 15:57     ` Bertrand Jacquin
2006-03-02 19:54       ` Alex Riesen
2006-03-02 19:59         ` Christopher Faylor
2006-03-02 20:07           ` Andreas Ericsson
2006-03-02 16:01     ` Andreas Ericsson
2006-03-02 16:26       ` Alex Riesen
2006-03-02 16:51     ` Shawn Pearce
2006-03-02 15:38 ` Johannes Schindelin
2006-03-02 16:33   ` Alex Riesen
2006-03-02 17:33     ` Johannes Schindelin
2006-03-31 19:25 ` Eric W. Biederman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.