LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04:42 AM   #1
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 281

Rep: Reputation: 42
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, 12:41 AM   #2
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 619

Rep: Reputation: 299Reputation: 299Reputation: 299
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, 05:10 PM   #3
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
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, 01:05 AM   #4
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 281

Original Poster
Rep: Reputation: 42
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, 11:00 AM   #5
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 281

Original Poster
Rep: Reputation: 42
More dtails on PGO

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:20 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
Open Source Consulting | Domain Registration