LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-12-2014, 03:00 PM   #16
BratPit
Member
 
Registered: Jan 2011
Posts: 253

Rep: Reputation: 100Reputation: 100

Check and add 4M video memory type write-combining to proc/mtrr


Quote:
echo "base=0x0d5000000 size=0x400000 type=write-combining" >| /proc/mtrr

Last edited by BratPit; 01-12-2014 at 03:25 PM.
 
Old 01-12-2014, 03:25 PM   #17
tjallen
Member
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by BratPit View Post
Check and add 4M memory type write-combining to proc/mtrr
Done. Alas, no improvement.
 
Old 01-12-2014, 04:22 PM   #18
BratPit
Member
 
Registered: Jan 2011
Posts: 253

Rep: Reputation: 100Reputation: 100
I thought so but did not hurt to check
Thats all from me :-(

Best...
 
Old 01-12-2014, 04:26 PM   #19
tjallen
Member
 
Registered: Jan 2014
Location: Central New York
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 29
I appreciate all the help, whether or not it fixes the problem. It's too bad though -- MTRRs not being enabled made a lot of sense.
 
Old 01-12-2014, 04:48 PM   #20
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
Quote:
Originally Posted by tjallen View Post
I'm a long-time Slackware user. I started with Slack 3.0 in '96. My main home machine is now getting a little old: 1.0 GHz PIII, Matrox Millennium II with 8MB, and 768 MB RAM. I currently have Slack 12.2 on the machine and have now put 14.1 on it as well with an eye toward a complete upgrade. (The machine also boots NEXTSTEP 3.3 and Win 2000. It is difficult to get newer hardware that is supported by NEXTSTEP. I also have a PII overdrive with similar peripherals and the same three OSs that I also sometimes use.)

My problem is that X11 in 14.1 runs poorly compared to X11 in 12.2 on my PIII machine. (It even seems to run more poorly than X11 in 12.2 on my PII overdrive machine.) Xfce in 12.2 is almost snappy; windows drag without tearing in Xfce even with compositing on. On Xfce in 14.1, windows tear and flicker if they're dragged around, while KDE is completely unusable.

To improve the situation, I've recompiled both X11 and Xfce with SLKCFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -ffast-math -funroll-loops -ftree-vectorize -mno-sse2 -mfpmath=sse" and then turned off compositing in /etc/X11/xorg.conf:

Section "Extensions"
Option "Composite" "Disable"
EndSection

With these tweaks, Xfce/X11 in 14.1 runs almost as well as the stock Xfce/X11 in 12.2. On all my installations, including both 12.2 and 14.1, I always recompile the kernel, aggressively tweaking it for performance on my specific hardware.

Does anyone have any ideas for improving performance of X11 on 14.1? (I've tried LXDE and e17, but they're not enough faster than Xfce to fully compensate.) What else should I look at? Are there any benchmarking tools to help me pinpoint the bottlenecks?
Anytime you adjust the CFLAGS for a compile to get more closely matched to your specific architecture, any program will run usually better with those optimizations. This is especially true on x86 based platforms which have many different optimization levels. That's why when you adjusted for Pentium 3 rather than Pentium Pro things ran more fluidly.

Slackware is built around a default of i486 or x86_64 optimizations on their respective architectures to maximize compatibility. It's not however the most optimal compile method due to raising maximum compatibility.

This is why do-it-yourself distributions like Gentoo and LFS can be tuned as all the software can be built to machine specifics.

You'll often find many mainstream distributions built off the i386, i486, i586, or x86_64 compile flags, and Slackware is no exception to this unless you rebuild the packages.
 
  


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
X11 low performance yakoub Slackware 7 07-12-2007 10:10 AM
SSH/X11 Forwarding - Performance Gort32 Linux - Software 1 01-23-2006 07:04 PM
X11 performance problems Nathaniel Firet Linux - Software 6 12-29-2005 10:34 AM
X11 DRI 3d performance won't run as a normal user? houler Linux - Software 1 04-11-2005 02:43 AM
Slackware 10 and X11 aikempshall Slackware 4 07-09-2004 06:44 PM

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

All times are GMT -5. The time now is 09:24 PM.

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