LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-30-2004, 05:43 AM   #1
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Rep: Reputation: 15
??X11 speed tricks??


Hello,

I run FreeBSD 5.2.1 on Compaq 2266/PII/225mhz/128mb/onboard SiS 5597/98 SVGA ... dual-booted with native Win98 ...

I didn't and don't expect much X speed out of this setup, however ... Firefox thru any window manager is significantly slower than Firefox on booted Win98 (native proprietary setup/drivers).

X works just fine with X and X-like applications but Firefox seems a heavy load even thru twm, and much moreso thru WindowMaker, Gnome or KDE. Geez, even Gnome and KDE unto themselves are sluggish. It puzzles me that there is that much difference. It's seems like X doesn't use the Graphics Accelerator part of the chip set. Is that just the nature of the beast or are there some known tweaks, tests or configs improve speed a little???

XFree86 was same as Xorg.

Cheers.
 
Old 07-30-2004, 07:02 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Quote:
XFree86 was same as Xorg.
Not in 5.2.1 it isn't. The X conversion just took place after that release. Have you followed the proceedure to upgrade XFree86 to X.org?

My advice... rebuild your kernel without the debugging information (read the handbook for step by step proceedure for this). Set your cpu type in /etc/make.conf ... and if you still have problems consider the switch to X.org -- although I do not know of how much difference it will make. I have a system of similar speed and firefox just seems too much for it. It works but very slowly. Of course, that system has not been worked over with any of these steps.
 
Old 07-30-2004, 07:15 AM   #3
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Original Poster
Rep: Reputation: 15
I switched to Xorg per procedures this past weekend and the behavior is the same as before. That's part of the reason I posted. Was hoping for a noticeable improvement with Firefox. I have been pondering a rebuild, but am also thinking that I am not going to get any more speed of X out of it. If I rebuild, I'm gonna download latest source and start from scratch. Cheers.
 
Old 07-30-2004, 07:25 AM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Well, you will notice a difference if you turn off the debugging in the kernel. That should amplify through all applications. Building a kernel is fairly easy. The biggest problem is that it will take a while on your system to build.
 
Old 07-30-2004, 07:35 AM   #5
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Original Poster
Rep: Reputation: 15
OK. You've convinced me. I'll try it some time this weekend. Something spooky about no debugging, tho. But what the heck, that's what I'm here for .. to learn. Cheers.
 
Old 07-30-2004, 07:50 AM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
lol, let's be honest... if your kernel panic'ed would you really know what to do with the debugging information? Even if that does happen, you can build a new kernel (as long as you have the same sources) with just the debugging information added and find out most of what you need anyway. In either case, if you want a panic to tell you anything, you should enable a dumpdev for the coredump -- but that is another completely different topic.

Normally, it is a good idea to leave the debugging on. But the 5.x series is still pre-stable release so they have ALL the debugging turned on... more than most people would need. On top of that, machines with 450Mhz or less really do notice that little extra over-head. I never noticed it on my main desktop but on my two old machines I felt the difference. If you want to leave the debugging INFORMATION in the file but not the routines... then leave the line with the "=-g" at the top of the file. That line affects size but not performance.
 
Old 07-30-2004, 08:12 AM   #7
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks for info. I will read up on it and rebuild with debugging off. Appreciate it.
 
  


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
Core 4 - X11-devel complains about X11-libs which are installed Ephracis Fedora 3 09-05-2005 09:32 AM
m$'s tricks yenonn General 4 10-09-2003 10:53 PM
Roaming X11/Xfree86, X11 proxy zapp Linux - Software 1 09-12-2003 08:06 AM
Does ebay really have tricks ? phreakazoid General 2 07-23-2003 08:53 AM
Anyone have any neat X11/WM tricks? zapp Linux - Software 0 06-06-2003 04:21 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

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