LinuxQuestions.org
Visit Jeremy's Blog.
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 10-20-2010, 12:59 PM   #1
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Rep: Reputation: 50
LTO: have some one tried??


Hi everyone, I use slackware to program a lot.
So in interested in LTO. But now I need a stable machine to finish the projects to my degree. So has some one tried LTO?

Can report some values to see the difference?

Here is a information of hoe to use LTO in gcc.
 
Old 11-14-2010, 05:15 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
It's been a month w/ no replies, perhaps some clarifications would help you get some help.
Quote:
Originally Posted by mlpa View Post
... But now I need a stable machine to finish the projects to my degree.
How does this impact the problem you are asking about here?

Quote:
Originally Posted by mlpa View Post
So has some one tried LTO?
I'm sure there are LQ members who have, but I'm not 1 of them, & I don't know if any have read this. Worse, I fear that any who did, don't understand what you are asking.

Quote:
Originally Posted by mlpa View Post
Can report some values to see the difference?
This line is probably the problem -- I don't understand what you mean. I suspect that "Aveiro" means that your native language is Portuguese, & therefore clarity in English isn't easy. Why don't you rephrase. we'll be patient.

Quote:
Originally Posted by mlpa View Post
Here is a information of hoe to use LTO in gcc.
Thank you for the link. It's very considerate to save your potential helpers from duplicating the search.


BTW, which Aveiro: Aveiro, Pará, Brazil o Aveiro, Portugal?
 
Old 11-14-2010, 09:56 AM   #3
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
I'm from Aveiro Portugal. Sorry for my English.

I'm finishing my master's degree in Informatics. I'm working in a agent to detect and classify objects in pictures.
So for now my laptop isn't available to run Slackware-current.

I'm asking if someone has Slackware-current, and program a little. If can run some program with LTO and without LTO. In some test that i saw in other website LTO produce code 6% faster in terms of time.

I'm interested because all my code is modular, so LTO can have some impact in performance.
 
Old 11-15-2010, 08:35 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Don't worry too much about your English, you're doing better than more than a few native speakers.

I don't run Slack myself, but here's hoping some Slackware-current user will see this & run (& report) the tests you need.

If you don't get a reply soon, try asking the mods to move this to the Slackware forum. (Use the "Report" button on your own post.)

Good luck.
 
Old 11-28-2010, 06:08 AM   #5
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
So, I had the chance of installing Slackware64 -current, and run some tests with LTO.
This is my result.

I make a small implementation of a queue with a linked-list.
And I fill the queue and empty the queue. Run three times with LTO and without, make and average of times and compute the difference.
Code:
Without LTO(s) | With LTO(s)
         1,235 |       1,201
         1,245 |       1,192
         1,238 |       1,197
----------------------------
AVG:     1,239 |       1,196
It's 3,44% faster, and with only two modules to optimize it's significant.

If some one want's the code to see just ask.
 
Old 11-29-2010, 03:09 AM   #6
vehn
Member
 
Registered: Dec 2007
Posts: 54

Rep: Reputation: 17
Quote:
If some one want's the code to see just ask.
Yes, it is interesting.

Last edited by vehn; 11-29-2010 at 03:18 AM.
 
Old 11-29-2010, 05:03 AM   #7
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
Quote:
Originally Posted by vehn View Post
Yes, it is interesting.
Can you give an email so I send the code?
I tried put here as a file but only lets 3 files and don't support .cpp or .h
 
  


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
[SOLVED] quantum lto 4 hh and linux napata Linux - Hardware 3 05-17-2013 01:46 AM
LTO retrieval ram8516 Linux - Hardware 2 04-27-2010 01:53 AM
Backup to LTO 2 Device mplike Linux - Server 1 06-23-2008 07:16 AM
How to backup with LTO Ultrium 2 Astol Linux - General 1 09-05-2007 08:49 PM
mt-st Version and LTO-2 Densities fukawi2 Linux - Hardware 2 11-15-2006 03:02 PM

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

All times are GMT -5. The time now is 05:55 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