| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Michael Widenius | Date: | January 2 2000 1:50am |
| Subject: | Re: 2 hours to compile mysql? | ||
| View as plain text | |||
>>>>> "Leif" == Leif Neland <leif@stripped> writes: >> The reason for this is that some gcc optimizations stages takes >> exponentially more memory when compiling big functions. >> bison produces one big function for the grammar parsing and its >> this that takes a long time to compile; To compile sql_yacc.cc quickly >> on Intel, you nead at least 160M of free ram. On a PentiumII 400mz with 256M >> ram, it takes 11 seconds to compile sql_yacc.o. Having to use swap >> can easily make things 1000 times slower >> Leif> Is amount of ram available (portably) to configure? I don't think thats easy to check for.. Aother problem is also that even if you have only little ram, you may still want to compile MySQL without --low-memory, because the final code is much better if you don't have to use --low-memory. Leif> So configure could decide to use --low-memory by itself? Allowing Leif> overrides, naturally. Leif> Leif Regards, Monty
| Thread | ||
|---|---|---|
| • 2 hours to compile mysql? | Leif Neland | 1 Jan |
| • Re: 2 hours to compile mysql? | Paul DuBois | 1 Jan |
| • Re: 2 hours to compile mysql? | Leif Neland | 1 Jan |
| • Re: 2 hours to compile mysql? | Michael Widenius | 2 Jan |
| • Re: 2 hours to compile mysql? | Leif Neland | 2 Jan |
| • Re: 2 hours to compile mysql? | Michael Widenius | 2 Jan |
| • Re: 2 hours to compile mysql? | Sasha Pachev | 4 Jan |
| • Re: 2 hours to compile mysql? | Daniel O'Connor | 4 Jan |
| • Re: 2 hours to compile mysql? | Sascha Schumann | 4 Jan |
| • Re: 2 hours to compile mysql? | Kevin Day | 4 Jan |
| • Re: 2 hours to compile mysql? | Tonu Samuel | 1 Jan |
| • Re: 2 hours to compile mysql? | hypnos | 1 Jan |
| • Re: 2 hours to compile mysql? | Benjamin Pflugmann | 1 Jan |
| • Re: 2 hours to compile mysql? | Leif Neland | 9 Jan |
| • Re: 2 hours to compile mysql? | Ralph Graulich | 10 Jan |
