LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-21-2014, 05:42 AM   #1
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Rep: Reputation: 27
Profile-guided optimisation binaries for mariadb in slackware


I came across a very interesting article by Kristian Nielsen on mariadb single-threaded performance:

http://kristiannielsen.livejournal.c...ampaign=buffer

The upshot is that you can get big performance improvements with this type of compilation, reducing L2 cache misses. Anyone else following this?
 
Old 01-22-2014, 01:41 AM   #2
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 442

Rep: Reputation: 140Reputation: 140
One wonders how many other programs we use could benefit from this type of optimisation. It seems however to be a slightly more complicated way to compile code. Perhaps things like the perl/python interpreters would most benefit ?
 
Old 01-22-2014, 06:10 PM   #3
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 795

Rep: Reputation: 119Reputation: 119
I'd like to see what would happen IF the whole distro were rebuilt with the gcc option "-march=native"
nothing would run on any other machine
I just wonder what it would be like to have the WHOLE CPU BEING USED
right now I would be willing to bet that half the transistors in the CPU are doing nothing
 
Old 01-23-2014, 02:05 AM   #4
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Original Poster
Rep: Reputation: 27
A lot of work though ... considering there are basically 2 compile runs. It may be useful for specific apps that would have greater benefit from it ( eg. mariadb above ).
 
Old 01-23-2014, 12:00 PM   #5
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Original Poster
Rep: Reputation: 27
More dtails on PGO

http://kristiannielsen.livejournal.c...ampaign=buffer
 
  


Reply


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
Slackware 14.1 mariadb encrypted mydiamo carlitoco Slackware 3 11-27-2013 07:41 PM
Replace MySQL with MariaDB in Slackware abesirovic1 Slackware 36 03-28-2013 09:53 AM
LXer: Slackware switching to the MariaDB database LXer Syndicated Linux News 0 03-24-2013 10:42 PM
[SOLVED] Slackware: Replace MySQL with MariaDB on fresh installation. astanton Slackware 4 03-03-2012 03:37 AM
Building Firefox 3.6 - A "Profile Guided Optimization" (PGO) Automated Build Script GrapefruiTgirl Linux - Software 6 10-28-2010 10:50 AM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
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