LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 10-29-2006, 04:31 AM   #1
rndr
LQ Newbie
 
Registered: Oct 2006
Location: Xanadu
Distribution: debs, grubs, nix & nax
Posts: 4

Rep: Reputation: 0
Post Athlon XP optimization (for 3D rendering)


I have found a super nice open source 3D animation studio called Blender, and want to squeeze each and every percent or performance out of my Athlon XP. I have compiled the kernel a few times before when it was still 2.4, and I feel confident that overall I know how to do it with some reference.

However I have no info on how to optimize this kernel for Athlon XP. We can see it has the following features:

Quote:

$uname -a
Linux linxu 2.6.17-8-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux

$cat /cpu/procinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2700+
stepping : 1
cpu MHz : 2171.732
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up ts
bogomips : 4348.18
How can I figure out which CPU features the kernel already uses?

Any of you more experienced compilers care to divulge any secrets on how to optimize this combo?
 
Old 10-29-2006, 04:41 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
I've run optimized and nonoptimized kernels on the same machine and I cannot tell the difference in speed. The main thing with Blender is that you want to have OpenGL working properly. If you want to make an optimized kernel then you use make menuconfig to select the kernel options,then you compile the kernel and modules, then you copy the new kernel to the /boot directory.
 
Old 10-29-2006, 04:55 AM   #3
FredGSanford
Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron & Salix 14
Posts: 943
Blog Entries: 5

Rep: Reputation: 88
Go check out Gentoo documentation on kernel optimization!
 
Old 10-29-2006, 06:01 AM   #4
rndr
LQ Newbie
 
Registered: Oct 2006
Location: Xanadu
Distribution: debs, grubs, nix & nax
Posts: 4

Original Poster
Rep: Reputation: 0
Anybody else agree with stress junkie that actually optimizing the kernel may not improve performace for 3D software like Blender?

BTW I use xconfig. Gentoo documentation on kernel optimization did offer some further insight into this situation.. ccg flags -O2 -arch=athlon-xp.. (well mostly o2).
 
Old 10-30-2006, 08:43 AM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
I think just using an AMD period should help out somewhat. AFAIK, they are a bit better with floating point operations. Of course that could have all changed with 64 bit procs on the market now, I'm still stuck with 32. As far as the optimization goes, are you building blender from source? That would be where you should worry about optimization, I would think.

Last edited by manwichmakesameal; 10-30-2006 at 08:45 AM.
 
  


Reply

Tags
3d


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
optimization of memory linuxmandrake Slackware 6 09-29-2006 10:07 PM
Webserver Optimization jbraum Linux - General 2 09-19-2005 08:28 PM
process optimization chuck232 Mandriva 8 01-18-2005 09:25 AM
Best Optimization Flags for a 512mb (ddr) equipped Athlon XP 1.8 ghz? haimeltjnfg Linux - Software 4 08-30-2004 12:52 AM
Is it an ATHLON, or ATHLON-THUNDERBIRD ? qwijibow Linux - General 5 07-27-2004 06:33 AM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration