Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232087 - sci-libs/blas-atlas-{3.8.0,3.8.2} - Doesn't set Penryn CPU L2 as 6MB(6291456) but as 4MB
Summary: sci-libs/blas-atlas-{3.8.0,3.8.2} - Doesn't set Penryn CPU L2 as 6MB(6291456)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-17 16:30 UTC by Tiago Marques
Modified: 2010-01-22 02:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Marques 2008-07-17 16:30:09 UTC
During compilation, I noticed that BLAS-ATLAS doesn't set the -DL2SIZE as the correct 6MiB(6291456 bytes). This will probably affect the performance on these newer Intel Xeons and Core 2 processors.

Reproducible: Always

Steps to Reproduce:
1.emerge blas-atlas
2.
3.

Actual Results:  
-DL2SIZE=4194304

Expected Results:  
Should be -DL2SIZE=6291456

I would like to know it it's possible to contact upstream, or make some changes directly to the ebuild, like checking the L2 size from /proc/cpuinfo, where it is displayed in KiB

Best regards
Comment 1 Tiago Marques 2008-07-17 16:32:27 UTC
This probably also affects Lapack-ATLAS
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2008-07-18 12:40:13 UTC
Atlas-3.9.0 came out today with fixes for Core2 and some more recent 
chips. I'll try to get it into portage over the next couple of days
and you can then check if 3.9.0 takes care of this issue. If not,
please file a bug with upstream [1] so they can have a look at it.

Thanks,
Markus

[1] http://math-atlas.sourceforge.net/faq.html#help
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2010-01-22 02:35:37 UTC
Nothing has happened here for a while. I assume things
are fixed in the most recent 3.9 versions. If not, please
feel free to re-open.

cheers,
Markus