Re: [newbie] Kernel compile from src ques.
On Sun, Mar 30, 2003 at 04:50:42PM -0600, Tom Brinkman wrote: On Sunday March 30 2003 11:08 am, Angus Auld wrote: Thanks for the reply Tom. I am very confused as to the process here. I have upgraded my kernel once in 8.2, and again in 9.0. I thought that the idea of a src rpm was to rebuild it against your particular arch and hardware, and then install it like any other rpm. (using the correct method for kernel install rather than upgrade of course). What is the purpose of the .src.rpm for the kernel? You would rebuild that 2.4.19.32mdk-1-1mdk.src.rpm for your system and arch, but in the process you end with a sh!+load of kernels you don't want or need. IE, the SMP kernel, the PPC kernel, Linus-kernel, and several others. That's why it was so large and had so many dependencies. IOW's it's a collection of all Mandrake source for various kernels. You only need the kernel-source rpm for the type of kernel you use. Sorry, I should'a explain that better in my earlier reply. But ya really ough'ta read over the mandrakeuser.org kernel link. It usually explains things better than I do. Actually the whole site does. I get confused too ;) http://www.mandrakeuser.org/docs/install/index.html#ku OTOH, let me interject some experienced opinion ( I always do anyhow ;) Compiling for your specific arch above i586 will only provide imagined improvement. Rarely anything measurable. Believe me, I've been tryin to prove myself wrong on this for years. Pushin optimizations too far will most often present more problems. Only the little bit of software specifically optimized to take advantage, would benefit anyway. Optimizing for Athlon FPU/cycle advantages over Intel does provide a touch better performance, but mostly, with most all apps, its imagined too. A lot of the things traditionally done in optimization phases of compilers are now done in hardware in modern processors. As a result, it is less essential to do them in the compilers. -- Tom Brinkman Corpus Christi, Texas Damn, Jr damn near won Texas again Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Kernel compile from src ques.
Greetings, I am just in the process of moving from the 2.4.19-24 to the 2.4.19-32 kernel. I would like to ask the list; would compiling the 2.4.19-32 src rpm before installing it be the equivalent of doing a kernel recompile on an installed kernel? Will the same possible performance improvement be realised? I have already downloaded the 2.4.19.32mdk-1-1mdk.src.rpm and the kernel source rpm, but when I tried to rpm --rebuild the kernel package, I get about 85megs of requires packages. Is this a worthwhile effort? TIA for any feedback on this. Best regards to all. -- Angus Peace cannot be kept by force. It can only be achieved by understanding.-- Albert Einstein -- http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaze Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compile from src ques.
On Sunday March 30 2003 06:15 am, Angus Auld wrote: Greetings, I am just in the process of moving from the 2.4.19-24 to the 2.4.19-32 kernel. I would like to ask the list; would compiling the 2.4.19-32 src rpm before installing it be the equivalent of doing a kernel recompile on an installed kernel? Will the same possible performance improvement be realised? I have already downloaded the 2.4.19.32mdk-1-1mdk.src.rpm and the kernel source rpm, but when I tried to rpm --rebuild the kernel package, I get about 85megs of requires packages. Is this a worthwhile effort? That's not the rpm you want. You want the kernel-source rpm. It's on your CD's. Use rpm -Uvh to install it. Don't forget to start with 'make mrproper' as the first step. Rename .config before you do tho. Copy it back afterwards. If you want to compile for a specific arch (there's really no value in doin so IMO), then either run 'make xconfig' and change the arch from i586, or simply edit this part of the .config file and use 'make oldconfig' # CONFIG_M586=y -- comment out this line as shown # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set CONFIG_MK7=y -- uncomment this line and change to =y as shown ** the above example compiles for Athlon ** Compiling for M686 or MPENTIUM* might actually degrade performance. YMMV, and you won't know til ya try it ;) Go here before you try, http://www.mandrakeuser.org/docs/install/index.html#ku -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compile from src ques.
From: Tom Brinkman [EMAIL PROTECTED] On Sunday March 30 2003 06:15 am, Angus Auld wrote: Greetings, I am just in the process of moving from the 2.4.19-24 to the 2.4.19-32 kernel. I would like to ask the list; would compiling the 2.4.19-32 src rpm before installing it be the equivalent of doing a kernel recompile on an installed kernel? Will the same possible performance improvement be realised? I have already downloaded the 2.4.19.32mdk-1-1mdk.src.rpm and the kernel source rpm, but when I tried to rpm --rebuild the kernel package, I get about 85megs of requires packages. Is this a worthwhile effort? That's not the rpm you want. You want the kernel-source rpm. It's on your CD's. Use rpm -Uvh to install it. Don't forget to start with 'make mrproper' as the first step. Rename .config before you do tho. Copy it back afterwards. If you want to compile for a specific arch (there's really no value in doin so IMO), then either run 'make xconfig' and change the arch from i586, or simply edit this part of the .config file and use 'make oldconfig' # CONFIG_M586=y -- comment out this line as shown # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set CONFIG_MK7=y -- uncomment this line and change to =y as shown ** the above example compiles for Athlon ** Compiling for M686 or MPENTIUM* might actually degrade performance. YMMV, and you won't know til ya try it ;) Go here before you try, http://www.mandrakeuser.org/docs/install/index.html#ku -- Tom Brinkman Corpus Christi, Texas ** Thanks for the reply Tom. I am very confused as to the process here. I have upgraded my kernel once in 8.2, and again in 9.0. I thought that the idea of a src rpm was to rebuild it against your particular arch and hardware, and then install it like any other rpm. (using the correct method for kernel install rather than upgrade of course). What is the purpose of the .src.rpm for the kernel? I can see that I am in the fog on this one :-/ I have the iso's for 9.1 downloaded, and I will be likely burning the cd's this week, so perhaps I'll just leave my present 9.0 system with the 2.4.19-24 kernel as is. I'll be getting the new kernel plus more in 9.1, if all goes well. Thank you for your time and patience. :-) Regards. --Angus Let us not look back in anger or forward in fear, but around in awareness.--James Thurber *** *Reg. Linux User #278931* *** *Power by Mandrake Linux 9.0* *** -- http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaze Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compile from src ques.
On Sunday March 30 2003 11:08 am, Angus Auld wrote: Thanks for the reply Tom. I am very confused as to the process here. I have upgraded my kernel once in 8.2, and again in 9.0. I thought that the idea of a src rpm was to rebuild it against your particular arch and hardware, and then install it like any other rpm. (using the correct method for kernel install rather than upgrade of course). What is the purpose of the .src.rpm for the kernel? You would rebuild that 2.4.19.32mdk-1-1mdk.src.rpm for your system and arch, but in the process you end with a sh!+load of kernels you don't want or need. IE, the SMP kernel, the PPC kernel, Linus-kernel, and several others. That's why it was so large and had so many dependencies. IOW's it's a collection of all Mandrake source for various kernels. You only need the kernel-source rpm for the type of kernel you use. Sorry, I should'a explain that better in my earlier reply. But ya really ough'ta read over the mandrakeuser.org kernel link. It usually explains things better than I do. Actually the whole site does. I get confused too ;) http://www.mandrakeuser.org/docs/install/index.html#ku OTOH, let me interject some experienced opinion ( I always do anyhow ;) Compiling for your specific arch above i586 will only provide imagined improvement. Rarely anything measurable. Believe me, I've been tryin to prove myself wrong on this for years. Pushin optimizations too far will most often present more problems. Only the little bit of software specifically optimized to take advantage, would benefit anyway. Optimizing for Athlon FPU/cycle advantages over Intel does provide a touch better performance, but mostly, with most all apps, its imagined too. -- Tom Brinkman Corpus Christi, Texas Damn, Jr damn near won Texas again Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel compile from src ques.
On Sunday 30 Mar 2003 11:50 pm, Tom Brinkman wrote: On Sunday March 30 2003 11:08 am, Angus Auld wrote: Thanks for the reply Tom. I am very confused as to the process here. I have upgraded my kernel once in 8.2, and again in 9.0. I thought that the idea of a src rpm was to rebuild it against your particular arch and hardware, and then install it like any other rpm. (using the correct method for kernel install rather than upgrade of course). What is the purpose of the .src.rpm for the kernel? You would rebuild that 2.4.19.32mdk-1-1mdk.src.rpm for your system and arch, but in the process you end with a sh!+load of kernels you don't want or need. IE, the SMP kernel, the PPC kernel, Linus-kernel, and several others. That's why it was so large and had so many dependencies. IOW's it's a collection of all Mandrake source for various kernels. You only need the kernel-source rpm for the type of kernel you use. Sorry, I should'a explain that better in my earlier reply. But ya really ough'ta read over the mandrakeuser.org kernel link. It usually explains things better than I do. Actually the whole site does. I get confused too ;) http://www.mandrakeuser.org/docs/install/index.html#ku OTOH, let me interject some experienced opinion ( I always do anyhow ;) Compiling for your specific arch above i586 will only provide imagined improvement. Rarely anything measurable. Believe me, I've been tryin to prove myself wrong on this for years. Pushin optimizations too far will most often present more problems. Only the little bit of software specifically optimized to take advantage, would benefit anyway. Optimizing for Athlon FPU/cycle advantages over Intel does provide a touch better performance, but mostly, with most all apps, its imagined too. And for evidence to prove Toms point http://www.mandrakeforum.com/article.php?sid=2472lang=en Mandrake 9.0 with its 'generic' compiling was faster than the 'optimised' Gentoo derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com