Hieu Hoang | 5 Oct 2007 00:39
Picon
Picon

Re: GCC and VC compilation

oh, & mem leak checking is permantlty turned on in vs.net debug. comment out #include <vld.h> if u don't need it
 
 
Hieu Hoang
-----Original Message-----
From: Hieu Hoang [mailto:h.hoang-Y3tGgqFSo3OFxr2TtlUqVg@public.gmane.org]
Sent: 04 October 2007 21:58
To: 'Jie Wu'; 'moses-support-3s7WtUTddSA@public.gmane.org'
Subject: RE: [Moses-support] GCC and VC compilation

hi jie,
 
moses on vs.net doesn't support srilm, which is highly optimised. it uses an internal language model, which is not.
 
also, it uses more memory than the cygwin version, for you may experience disk thrashing. debug mode uses even more, and is even more slow.
 
Hieu Hoang
-----Original Message-----
From: moses-support-bounces-3s7WtUTddSA@public.gmane.org [mailto:moses-support-bounces-3s7WtUTddSA@public.gmane.org] On Behalf Of Jie Wu
Sent: 04 October 2007 21:47
To: moses-support-3s7WtUTddSA@public.gmane.org
Subject: Re: [Moses-support] GCC and VC compilation

Oh, I am sorry, I had a typo in the very important form. Following is the form again:

 

Binary size

Translation time for a single sentence 'das ist ein kleine haus' using the Tutorial data from the website

Moses-gcc

21,158K

8sec

Moses-vc-debug

2,796K

30min

Moses-vc-release

508KB

25sec

 



On 10/4/07, Jie Wu <jie82.wu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,

I subversioned Moses from the repository and compiled it both using gcc under cygwin and vc compiler under VS 2005. In either case, I don't have problems generating the binaries. However, I do find tremendous differences between the two binaries.

 

Binary size

Translation time for a single sentence 'das ist ein kleine haus' using the Tutorial data from the website

Moses-gcc

21,158K

8sec

Moses-vc-debug

2,796K

30min

Moses-vc-release

508KB

30min

 

Personally I really don't think that's a compiler problem. They shouldn't incur any significant difference. Is there something I am missing? Can anybody shed some light on this?

Thanks
Jie


--
=================================
Jie Wu
Homepage:
http://www.jiewu.info



--
=================================
Jie Wu
Homepage:
http://www.jiewu.info

Gmane