View previous topic :: View next topic |
Author |
Message |
kakakoka Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1223220940addd7e4851c.png)
Joined: 14 May 2003 Posts: 147 Location: Denmark
|
Posted: Fri May 21, 2004 4:24 pm Post subject: Oops, wrong cpu type in my kernel. Should I worry? |
|
|
I forgot (somehow) to set the cpu type in my .config when I compiled my kernel a few days ago. It was wrongly set to 386, that should have been athlon. Im going to make a new kernel, hopefully with nothing about to break. Can this have any impact on the apps Ive compiled so far?
Also I hope it will make my desktop more responsive during this emerge openoffice I have going on, but which Im going to CTRL-C soon. Or will the change have no effect on desktop responsiveness? _________________ Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
barlad l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/135629013340bb28ae939e4.jpg)
Joined: 22 Feb 2003 Posts: 673
|
Posted: Fri May 21, 2004 4:51 pm Post subject: |
|
|
I don't think it will have any impact on the apps you have compiled. The apps you compiled depend on the CFLAGS and CHOST you set up in make.conf. If those are correct, then your applications are fine.
You can safely recompile your kernel with new CPU. Going from 386 to Athlon should definitely improve responsiveness without breaking anything (assuming you compiled your apps with proper flags).
Now I wonder if a kernel compiled with, let's say i386, could run some apps optimized for athlon (compiled with -march athlon). That would be fun to try. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Voltago Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/5021960813fd4cfeb02cbe.jpg)
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Fri May 21, 2004 4:53 pm Post subject: |
|
|
Since the athlon is backwards compatible to its ancestor architecture i386, this will _not_ cause problems like stuff crashing. But there will be a slight performance loss due to missing athlon specific optimisations in your kernel.
It will, however, have not too big an impact on compiling stuff, I think, and you should complete your emerge before baking a new kernel. The time advantage when compiling openoffice with an optimised kernel will most likely not be worth the time already lost in your running compile. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kakakoka Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1223220940addd7e4851c.png)
Joined: 14 May 2003 Posts: 147 Location: Denmark
|
Posted: Fri May 21, 2004 5:04 pm Post subject: |
|
|
Im letting the emerge openoffice run Basically I have been running for a few days with the 386 kernel and i686 flags in make.conf. The desktop does become quite unresponsive when emerging, so Im hoping my new kernel, which is configured but not compiled yet, will have a positive impact here ![Smile :)](images/smiles/icon_smile.gif) _________________ Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kakakoka Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1223220940addd7e4851c.png)
Joined: 14 May 2003 Posts: 147 Location: Denmark
|
Posted: Fri May 21, 2004 5:07 pm Post subject: |
|
|
barlad wrote: | Now I wonder if a kernel compiled with, let's say i386, could run some apps optimized for athlon (compiled with -march athlon). That would be fun to try. |
Apart from my apps being optimised to i686 (an athlon thunderbird), this is what Im trying now, so what do you want to know
By the way, is the Athlon/Duron/K7 setting in the kernel correct for an Athlon Thunderbird? Or should I use 586/K5/5x86/6x86/6x86MX? _________________ Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
barlad l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/135629013340bb28ae939e4.jpg)
Joined: 22 Feb 2003 Posts: 673
|
Posted: Fri May 21, 2004 7:33 pm Post subject: |
|
|
athlon setting is correct
Well, what I wonder is this:
When you run a program, I suppose that what happens first is that the kernel puts the assembly instructions in memory. Thing is the program contains some athlon's specific instructions and the kernel was compiled with i386 support. So I wonder if the kernel does any check on the instructions it's putting in memory or if it just loads it and let the CPU manage the rest.
I wish some system guru would just come and tell me how all of that works
Anyway, I guess that since you have not noticed any application not working properly, I have the answer to my question! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kakakoka Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1223220940addd7e4851c.png)
Joined: 14 May 2003 Posts: 147 Location: Denmark
|
Posted: Fri May 21, 2004 9:50 pm Post subject: |
|
|
None so far, although there have been one dmesg message im not sure how to interpret, I think its connected to fglrx (ati-drivers):
mtrr: no MTRR for c0000000,400000 found
mtrr: no MTRR for c0400000,100000 found
Im not sure what the MTRR does (except its a Memory Type Ranged Register), but I do have it compiled in and I do remember it to be next to the processor type selection in make menuconfig, so perhaps its related?
Oh, and by the way, the openoffice build finally failed after 5 hours of compilation. Oh well reaching for the -bin ebuild, that will do I think.
Code: |
register uno component: /var/tmp/portage/openoffice-1.1.1-r1/image//opt/OpenOffice.org/program/libd
bi645li.so! ERROR: app-office/openoffice-1.1.1-r1 failed.! Function src_install, Line 424, Exitcode
1! Setup failed
|
_________________ Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Halcy0n Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/9109206313f90bbb55cf4d.jpg)
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Fri May 21, 2004 10:57 pm Post subject: |
|
|
As far as I can tell (and am aware), all the processor type setting does is determine what flags to compile the kernel with. So you really have nothing to worry about, so long as you picked something compatible, which i386 would be. _________________ Mark Loeser
http://www.halcy0n.com |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jcmorris Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Jun 2003 Posts: 174
|
Posted: Sat May 22, 2004 3:28 am Post subject: |
|
|
Well, if you had an Athlon-XP, and you compiled your apps with -msse or -march=athlon-xp, there could've been problems, since SSE requires that the kernel initialize it and detect it on your processor. In other words, setting it to 386 would cause problems because the kernel wouldn't even check for SSE because you can't enable SSE on a 386. But, if you didn't compile your apps with SSE support, you are fine
jcm _________________ Desktop:
Athlon64 3000+ (Socket 939 Venice)
Asus A8N-SLI
1GB Dual-Channel DDR 3200
NVidia Geforce 6800 256MB
Laptop:
IBM R40
Pentium M 1.4 GHz
256 MB RAM |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
herbo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Docter_Hibbert.gif)
Joined: 13 Feb 2004 Posts: 145 Location: Land Of Oz
|
Posted: Sat May 22, 2004 4:50 am Post subject: |
|
|
The mttr is most definately connected to the fglrx (ati drivers), more information refer to the following link: mtrr fix @ rage3d forums
btw: I have the same message in my log, but it does not appear to cause any problems. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kakakoka Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1223220940addd7e4851c.png)
Joined: 14 May 2003 Posts: 147 Location: Denmark
|
Posted: Sat May 22, 2004 7:58 am Post subject: |
|
|
FYI. The mtrr message dissapeared on the correctly built athlon kernel. _________________ Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
herbo Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Docter_Hibbert.gif)
Joined: 13 Feb 2004 Posts: 145 Location: Land Of Oz
|
Posted: Sat May 22, 2004 1:26 pm Post subject: |
|
|
Thanks for info, however the mttr message comes and goes me for.... not quite sure what causes it, but I think it might vmware or some other graphical ly intensive program. Ah well, I live in hope ATI will someday produce decent drivers to fix all these problems up..... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|