Message-ID: <3913BE88.44A89056@softhome.net> Date: Sat, 06 May 2000 09:41:12 +0300 From: Laurynas Biveinis X-Mailer: Mozilla 4.72 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: gcc AT gcc DOT gnu DOT org CC: DJGPP Workers Subject: Perfomance of gc-simple Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com DJGPP has no mmap() nor valloc(), so it has to use simple GC which leads to absurd compilation times when bootstraping compiler: While compiling toplev.c in stage2, it does GC once {GC 5404k -> 1254k} but does it in huge amount of time: [0% entries sniped] Execution times (seconds) garbage collection :1032.58 (97%) usr 0.00 ( 0%) sys1032.58 (97%) wall parser : 6.53 ( 1%) usr 0.00 ( 0%) sys 6.53 ( 1%) wall CSE : 5.71 ( 1%) usr 0.00 ( 0%) sys 5.71 ( 1%) wall TOTAL :1067.52 0.00 1067.52 This is not the way to go. Does anyone have any advices how to speed it up? I recall Alexandre Oliva starting discussion about making gc-page use simple malloc(), what about that? Laurynas Biveinis