Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Optimizing Gentoo (Seeking Help)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Tue Sep 19, 2006 4:37 am    Post subject: Optimizing Gentoo (Seeking Help) Reply with quote

Ok..so I'm pretty sure that I have nearly everyting set up exactly the way I want it now. I am noticing, however, a few areas where I could improve performance. Switching between windows (KDE, in case it matters), playing music at Pandora while browsing the web (music skips from time to time), mouse hangs or skips when the PC seems to be doing something. I hate to admit it...but these are all problems that I don't have in windows.

So it comes down to optimization. I know that there are things I can do. I just don't know where to begin. Would it make sense to start tweaking my kernel configuration? Maybe cutting out things I might not need? would that make a significant impact on machine performance? Then when could I recompile (and what options are recommended) to improve overall performance increase?

I'm most concerned about the music skipping and the mouse skipping. If I could get these two ironed down, I have a fairly snappy system.
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Sep 19, 2006 5:59 am    Post subject: Re: Optimizing Gentoo (Seeking Help) Reply with quote

coplaniuk wrote:
I'm most concerned about the music skipping and the mouse skipping. If I could get these two ironed down, I have a fairly snappy system.

If the music is played from a hard drive, check the speed of the drive.
Another thing which might alleviate both symptoms would be a preemptive kernel, if one is not presently in place.
Back to top
View user's profile Send private message
suicidal_orange_II
Apprentice
Apprentice


Joined: 04 Sep 2004
Posts: 299

PostPosted: Tue Sep 19, 2006 9:22 am    Post subject: Reply with quote

Your hardware and kernel would be useful - post the output of uname and hdparm
Code:
uname -a
hdparm -tT /dev/hda #(assuming you run gentoo from hda)
what cpu you have and how much RAM you have and then we will be able to help you better.


Suicidal_Orange
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Wed Sep 20, 2006 1:15 am    Post subject: Reply with quote

Here's the info I have.
Code:

#uname -a
Linux vessel 2.6.17-gentoo-r4 #9 Sun Aug 20 21:31:04 EDT 2006 i686 Genuine Intel(R) CPU           T1350  @ 1.86GHz GNU/Linux

#hdparm -tT /dev/sda6
/dev/sda6:
 Timing cached reads:   3628 MB in  2.00 seconds = 1815.13 MB/sec
 Timing buffered disk reads:   94 MB in  3.06 seconds =  30.67 MB/sec


desoltory mentioned a preemtive kernel. What' that mean?
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Wed Sep 20, 2006 2:50 am    Post subject: Reply with quote

coplaniuk wrote:
Code:
#uname -a
Linux vessel 2.6.17-gentoo-r4 #9 Sun Aug 20 21:31:04 EDT 2006 i686 Genuine Intel(R) CPU           T1350  @ 1.86GHz GNU/Linux

Definitely enough processor capacity to handle the load described in the topic head post.

coplaniuk wrote:
Code:
#hdparm -tT /dev/sda6
/dev/sda6:
 Timing cached reads:   3628 MB in  2.00 seconds = 1815.13 MB/sec
 Timing buffered disk reads:   94 MB in  3.06 seconds =  30.67 MB/sec

Depending on the drive and the interface to which it is connected this can possibly be improved, post the output of hdparm -i /dev/sda and verify that the module for the interface is loaded.

coplaniuk wrote:
desoltory mentioned a preemtive kernel. What' that mean?

That would mean a preemptible kernel, which basically is a kernel which allows for better reaction time from the perspective of the user by allowing other things to take precedence over parts of the kernel during execution. Such a kernel is built when 'Preemption Model', under 'Processor type and features', in the kernel configuration is set to 'Voluntary Kernel Preemption (Desktop)' (good responsiveness) or 'Preemptible Kernel (Low-Latency Desktop)' (better responsiveness) instead of 'No Forced Preemption (Server)' (potentially not so good responsiveness), prior to building a kernel. Also, setting 'Preempt The Big Kernel Lock' in the same section tends to help with latency issues.
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Wed Sep 20, 2006 4:07 am    Post subject: Reply with quote

Preemptive kernel:
I had it set for server mode. I'm going to recompile the kernel and see how that goes. I also saw an option for Timer Frequency...currently set to 100hz. It mentions something about deskops if I set it to 1000 hz. Do I need to change this as well? Or leave it alone?

I'll keep you posted. In the meantime...

hdparm:
I am getting this error when I run that command:
Code:

# hdparm -i /dev/sda

/dev/sda:
 HDIO_GET_IDENTITY failed: Inappropriate ioctl for device

So obviously that means that I don't have a module loaded for it. How do I know what module I should be loading?
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Wed Sep 20, 2006 4:17 am    Post subject: Reply with quote

coplaniuk wrote:
Code:

# hdparm -i /dev/sda

/dev/sda:
 HDIO_GET_IDENTITY failed: Inappropriate ioctl for device

So obviously that means that I don't have a module loaded for it.

Actually, it just means that I asked for the wrong information, hdparm is supposed to do that for SCSI (and SCSI like), drives.

coplaniuk wrote:
How do I know what module I should be loading?

Post the output of lspci and someone (likely me) will tell you what module(s) to load (or build in) for any ATA, SATA or SCSI interfaces listed.
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Wed Sep 20, 2006 4:21 am    Post subject: Reply with quote

so my hdparm is working perfectly?

Here's my output.
Code:

# lspci
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Graphics Port (rev 03)
00:1b.0 Class 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 Class 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 01d8 (rev a1)
04:00.0 Network controller: Intel Corporation Unknown device 4222 (rev 02)
05:06.0 CardBus bridge: Texas Instruments Unknown device 8039
05:06.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a
05:06.2 Mass storage controller: Texas Instruments Unknown device 803b
05:06.3 Class 0805: Texas Instruments Unknown device 803c
05:08.0 Ethernet controller: Intel Corporation Unknown device 1092 (rev 01)

_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Wed Sep 20, 2006 5:02 am    Post subject: Reply with quote

coplaniuk wrote:
so my hdparm is working perfectly?

It is working as it is supposed to, though perfectly might be a bit optimistic.

coplaniuk wrote:
Code:
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)

The module for this device is listed as 'Intel PIIXn chipsets support' under 'Device Drivers --->', 'ATA/ATAPI/MFM/RLL support --->'.

coplaniuk wrote:
Code:
00:1f.2 Class 0106: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controllers cc=AHCI (rev 01)

The module for this device is listed as 'AHCI SATA support' under 'Device Drivers --->', 'SCSI device support --->', 'SCSI low-level drivers --->'.

coplaniuk wrote:
Code:
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)

Not a disk interface, though it might look it, the module is listed as 'Intel 82801 (ICH)' under 'Device Drivers --->', 'I2C support --->', 'I2C Hardware Bus support ---> '.

coplaniuk wrote:
Code:
05:06.2 Mass storage controller: Texas Instruments Unknown device 803b

I can offer no recommendation for this device, whatever it is.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3445
Location: Gainesville, Florida

PostPosted: Thu Sep 21, 2006 3:41 am    Post subject: Reply with quote

I'm an AMD user, but I can offer some general advice for your kernel, and /etc/make.conf files.

1. Definitely use 1000Mhz for desktops, and try and cut out everything you don't need, especially if the items aren't compiled as modules, and are actually compiled into the kernel. Make your kernel as lean as possible.

2. Make sure you choose the correct processor type in kernel config. These are the ones in make xconfig.

CONFIG_MPENTIUMII
CONFIG_MPENTIUMIII
CONFIG_MPENTIUMM
CONFIG_MPENTIUM4

I would guess you should use CONFIG_MPENTIUMM for the Intel Core Solo T1350 processor. (Someone who knows intels correct me if I'm wrong)

3. Also, it's a good idea to use these kernel options for desktop and audio:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y

4. Also set your cpu type in /etc/make.conf. Depending on what gcc you are using, the exact syntax might be different- could be -mtune=pentium-m or -march=pentium-m.

For example, mine is for my AMD athlon-xp cpus:
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer (and more selected cflags for more optimizations).

Also in /etc/make.conf, set the appropriate USE flags for your cpu type
USE="mmx sse sse2" (and whatever other USE flags you might need for your particular system. Audio might require more than the Gentoo defaults).

Check emerge --info to see how your system is currently setup. After you change USE flags, you should recompile with emerge -upDN world (remove p after you check to see what needs to be done).

Check output of: cat /proc/cpuinfo

to see what features your cpu actually has. Only add the mmx and sse related stuff to your /etc/make.conf USE flags if they aren't there already.

5. It's definitely helpful to investigate and try different cpu and IO schedulers. I use deadline as my default on SATA drives:
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_AS is not set
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_IOSCHED_CFQ is not set
# CONFIG_DEFAULT_AS is not set
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"

CFQ is also great for perfromance under some system and conditions, and ide drives. You can compile all of them in, and change schedulers with a kernel boot option, and experiment for best performance with your system and usage patterns

# CPU schedulers
CPU schedulers are more variable, depending on what kernel and patches you are using. For instance, in my 2.6.18-rc4-viper1 kernel, I'm compiling all these in, but setting "NICK" scheduler as my default. STAIRCASE are also great for desktop responsiveness. If they are all compiled in, you can also change schedulers with a kernel boot option. If you need multimedia/audio, you really need a more specialized multimedia kernel.
#
# CONFIG_CPUSCHED_SPA is not set
CONFIG_CPUSCHED_CHOICE=y
CONFIG_CPUSCHED_CHOOSE_BUILTINS=y
CONFIG_CPUSCHED_INGO=y
CONFIG_CPUSCHED_INGO_LL=y
CONFIG_CPUSCHED_STAIRCASE=y
CONFIG_CPUSCHED_NICK=y
CONFIG_CPUSCHED_DEFAULT_NICK=y

EDIT: Forgot to mention- when I recompiled and set AHCI SATA support=Y instead of "not set.", my hdparm went from about 38mb/sec to 60mb/sec. on one of my SATA drives. I was amazed at the overall improvement.
-------------------------------------------------------------------------------------------------------------------

Intel pentium architectures from from man:gcc

pentium3, pentium3m
Intel Pentium3 CPU based on PentiumPro core with MMX and SSE instruction set support.

pentium-m
Low power version of Intel Pentium3 CPU with MMX, SSE and SSE2 instruction set support. Used by Centrino notebooks.

pentium4, pentium4m
Intel Pentium4 CPU with MMX, SSE and SSE2 instruction set support.

prescott
Improved version of Intel Pentium4 CPU with MMX, SSE, SSE2 and SSE3 instruction set support.

nocona
Improved version of Intel Pentium4 CPU with 64-bit extensions, MMX, SSE, SSE2 and SSE3 instruction set support.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Thu Sep 21, 2006 3:51 am    Post subject: Reply with quote

wrc1944 wrote:

2. Make sure you choose the correct processor type in kernel config. These are the ones in make xconfig.

CONFIG_MPENTIUMII
CONFIG_MPENTIUMIII
CONFIG_MPENTIUMM
CONFIG_MPENTIUM4

I'm currently using CONFIG_MPENTIUM4. Since it runs...isn't it safe to say that it's the correct option?

Quote:

I would guess you should use CONFIG_MPENTIUMM for the Intel Core Solo T1350 processor. (Someone who knows intels correct me if I'm wrong)

I believe the Core Solo is a mobile version of a P4...which is included in the Pentium 4 class.

could someone please confirm or deny my thoughts.
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3445
Location: Gainesville, Florida

PostPosted: Thu Sep 21, 2006 2:00 pm    Post subject: Reply with quote

If indeed the Core Solo is a mobile version of a P4, then CONFIG_MPENTIUM4 would be correct.

However, when I googled and looked at a few web sites, Some laptops had it listed as an option along with the new Core duo, which leads me to believe it might NOT be a Pentium4 version.

On the other hand, another site had this: Intel CORE SOLO T1350 1.66GHZ 2M 667 S478 (LE80538GE0362M), so apparently it is a socket 478 cpu (same as Pentiums and some Celerons.

What laptop do you have- maybe that will confirm you have a socket 478 system?

Here's some other thoughts:

If you are using kde and arts, maybe that causes a problem. Maybe try booting with xfce4, or Gnome, and see if you still have problems.

What is the ouput of dmesg?

Check and see if you have unneeded services running, and disable them- maybe that will help.

Maybe you need to refine or add something to your USE flags for your audio apps.

Maybe you really don't have enough ram to run what you are trying to run without swapping out to disk.

Maybe try a 2.6.18-ck kernel (will be out in a day or two), or another muiltimedia kernel. These definitely improve desktop responsiveness.
http://members.optusnet.com.au/ckolivas/kernel/

If don't have 2 processors, or dual-core, you don't need SMP set, so.

#
# Processor type and features
#
# CONFIG_SMP is not set

When you installed Gentoo, how did you build your kernel- by hand or genkernel?

EDIT: Check this out- Con's (ck kernel fame) audio kernel tips. It should be of some help. 2.6.18-ck1 is now out.
http://ck.kolivas.org/faqs/audio_hints

One other very important thing- if you are using the ext3 file system, you should definitely tweak it for performance. Makes a significant difference.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Sep 22, 2006 4:27 am    Post subject: Reply with quote

coplaniuk wrote:
I believe the Core Solo is a mobile version of a P4...which is included in the Pentium 4 class.

could someone please confirm or deny my thoughts.

The Core processor type is not specifically a mobile processor type, though it is derived from the Pentium 4 architecture.
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Fri Sep 22, 2006 1:18 pm    Post subject: Reply with quote

As it turns out (after loads of research all across the 'net and with this thread), my processor is, in fact, best configured with 'CONFIG_MPENTIUMM '. As it turns out, my march parameter in make.conf should have been 'prescott' as well.

I recompiled the kernel with your various tips. I also removed or modularized as much as was suitable. Kernel is noticably smaller. The machine already seems much more efficient. Right now, I'm going through and recompiling my entire system due to the march misconfig. I'll let you know how things pan out.

Feel free to keep posting tips. I'm never afraid to recompile the kernel, if I have to.
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
kevman
n00b
n00b


Joined: 22 Sep 2006
Posts: 44
Location: Pittsburgh, PA.

PostPosted: Fri Sep 22, 2006 1:24 pm    Post subject: Reply with quote

The Core Solo is the same as the Core Duo, but with one core disabled. He can use a cat /proc/cpuinfo to be sure, but it is most likely Yonah core, which means it has nothing to do with Pentium 4.

The Socket 478 used in the Core series is an entirely different socket. I do not think PIVs will even fit in the socket.

I recommend, for GCC3, a march of pentium M and -msse3. Though I don't use it, I will also be trying this: -mfpmath=sse . Use Pentium M for the kernel, since that's what the Yonah is based off of. GCC 4 might have a specific Yonah setting, I don't know yet.

See this thread: https://forums.gentoo.org/viewtopic-t-496285.html

Using a PIV setting for anything would likely be a fallacy; Yonah's pipeline is less than 10 stages, while the PIV's is 32 depending on the core.

EDIT: Yeah, the prescott is somewhat better, but the only reason for that is becuase its the only other non64bit CPU with SSE3
_________________
[INSERT 800x600 SIGPIC HERE]
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Fri Sep 22, 2006 4:19 pm    Post subject: Reply with quote

Definitely the ck-based patchset will help.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Fri Sep 22, 2006 4:46 pm    Post subject: Reply with quote

kevman wrote:
The Core Solo is the same as the Core Duo, but with one core disabled. He can use a cat /proc/cpuinfo to be sure, but it is most likely Yonah core, which means it has nothing to do with Pentium 4.


Laptop isn't on the net yet...so I have to type manually...formatting may be a bit messed up. Here's my cpuinfo:
cat /proc/cpuinfo wrote:

processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 14
model name: Genuine Intel(R) CPU T1350 @1.86Ghz
stepping: 8
cpu MHz: 1862.097
cache size: 2048 kb
fdiv_bug: no
hlt_but: no
f00f_bug: no
coma_but: no
fpu: yes
fpu_exception: yes
cpuid level: 10
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mirr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm phe
nx constant_tsc up pni monitor est tm2 xtpr
bogomips: 3729.74


I was also told that 'pni' IS sse3


As for ck-based patchset...that has a focus on sound, correct? Does it lessen the optimization for web development (apache, php, etc?) Because as much as I'd hate to admit it...the primary funciton of this laptop is web development.
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3445
Location: Gainesville, Florida

PostPosted: Fri Sep 22, 2006 5:16 pm    Post subject: Reply with quote

Looks like we got some good progress here. 8)

Did you add the mmx and sse flags to your USE="" line in make.conf? If not, you need to add what showed up in the output of cat /proc/cpuinfo, and do an emerge -upDN world to recompile the items that can take advantage of them.

To further "lean down" your system, you should also investigate what USE flags show up in emerge --info, and remove anything you don't need in make.conf with the - option. For example, for my usage on one ~x86 box, mine is:

USE="gtk2 imlib libwww xmms motif glibc-omitfp -firefox -gnome -apache -apache2 sse mmx mmxext 3dnow 3dnowext dvd dvdr dvdread alsa caps -emboss -oss -esd -arts -dbus -hal kdehiddenvisibility"

Refining USE flags is definitely one of the best improvements you can make to a Gentoo system. You can really refine/tweak it on an advanced level in /etc/portage. The idea is not to compile in support for stuff you don't ever use. Also, unneeded USE flags can pull in many unwanted packages, bloating up the system.

I'd really like to see your cat /proc/cpuinfo output, as I'm helping my son decide about getting a new Intel based system.

General info:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2

List of USE flags, and what they relate to:
http://www.gentoo.org/dyn/use-index.xml
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3445
Location: Gainesville, Florida

PostPosted: Fri Sep 22, 2006 5:24 pm    Post subject: Reply with quote

coplaniuk wrote:
Quote:
As for ck-based patchset...that has a focus on sound, correct? Does it lessen the optimization for web development (apache, php, etc?) Because as much as I'd hate to admit it...the primary funciton of this laptop is web development.
The ck patches are mainly for desktop responsiveness, and audio/multimedia performance. I don't think it much matters what applications you are running on a particular system using ck kernels, and I wouldn't think you'd want a system doing web development to be any less responsive than any other system.

More important would be setting the correct USE flags for your particular apps, so they have full functionality.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3445
Location: Gainesville, Florida

PostPosted: Fri Sep 22, 2006 6:03 pm    Post subject: Reply with quote

I'm still not convinced we know what architecture this cpu is. I googled and read up on "prescott," and I don't see any references to a 1.86GB Mhz version, or even that they are used in laptops.

I did find some more likely candidates that are1.86GB, such as:
Intel Centrino Sonoma Pentium M 750 processor
1.86GHz 2MB
533MHz
90nm
27w

Also, the socket for Core duo seems to be 775, while the info for the core solo T1350 seems to indicate socket 478.

If core solo is the same cpu as core duo (which I'm not convinced it is) with one core disabled, this makes no sense. Very confusing.

Again, exactly what model laptop do you have, and what are the specs, if you know? That should enable us to track down what you actually have, and what architecture to specify.

EDIT: OK- traced it down to Core solo is a socket M cpu, if that helps any.
http://en.wikipedia.org/wiki/List_of_Intel_Core_microprocessors

It's definetly a "Yonah" core, and supports:
Core Solo
"Yonah" (standard-voltage, 65 nm)
All models support: MMX, SSE, SSE2, SSE3, EIST, XD bit (an NX bit implementation)


With this cpu, I would definitely add mmx, sse, sse2, and sse3 to USE flags, sync, and do an emerge -uDN world.

After all this, I would think -march=pentium-m is correct, or at least currently the best option to use.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final


Last edited by wrc1944 on Fri Sep 22, 2006 6:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
kevman
n00b
n00b


Joined: 22 Sep 2006
Posts: 44
Location: Pittsburgh, PA.

PostPosted: Fri Sep 22, 2006 6:30 pm    Post subject: Reply with quote

wrc1944 wrote:

If core solo is the same cpu as core duo (which I'm not convinced it is) with one core disabled, this makes no sense. Very confusing.


The core was damaged, so they shut it off and sold it as a single core system.
They never made a mobile Prescott CPU. They placed Prescotts in laptops, but Intel never made one for laptops, for obvious reasons.

I have no idea where you read that the Core Duo uses socket 775, that's Prescott's and Core 2 Duo's Desktop socket. This is likely why you are confused. I myself own a Core Duo T2300, and can tell you that it uses Socket 479. My sister has a Core Celeron, and its Yonah, socket 479.

Anyway, The term Core NEVER EVER indicated anything Netburst. Mobile Netbursts are Pentium 4M. You can see that in the link below. Sonoma is the name for the Centrino platform, something different, using an older Dothan core, still Pentium M.

Intel's Core Specs


You'll see the T1400, which exactly matches his cpuinfo other than the number.
_________________
[INSERT 800x600 SIGPIC HERE]
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3445
Location: Gainesville, Florida

PostPosted: Fri Sep 22, 2006 6:59 pm    Post subject: Reply with quote

Well, after all this, at least I'm getting a good education about Intel mobile cpus. :lol:

Maybe I misunderstood when I thought I read that the Core Duo uses socket 775.

The wiki link I posted above says your Core Duo T2300 is socket M. Does this mean socket M is aka socket 479?

BTW, your link above seems broken (Bad Request (Invalid URL).
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final
Back to top
View user's profile Send private message
kevman
n00b
n00b


Joined: 22 Sep 2006
Posts: 44
Location: Pittsburgh, PA.

PostPosted: Fri Sep 22, 2006 7:05 pm    Post subject: Reply with quote

Blah, its the not-so-great way Intel's site is written.

this is a better link than the one above anyway. You can see the T1350 in there. Its a T1300 with faster FSB and ram. (Or a T1400 with a slower FSB and higher multiplier...? Who cares).

Yes, Socket M is 479.

http://en.wikipedia.org/wiki/Socket_M

I know my Intel, dudes. My last AMD was a k6-2+.
_________________
[INSERT 800x600 SIGPIC HERE]


Last edited by kevman on Mon Sep 25, 2006 6:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
coplaniuk
Guru
Guru


Joined: 14 Apr 2004
Posts: 461
Location: Philadelphia, USA

PostPosted: Fri Sep 22, 2006 9:43 pm    Post subject: Reply with quote

Still feel pretty confident that my CPU info is set correctly.

When i get the laptop back online, I'll paste an exact cpu-info. but the manually-typed one above should contain everything. I just havn't recompiled my ipw3945 drivers yet since I keep tweaking the kernel more and more.

USE flags:
There's a bunch of use flags appearing in 'emerge --info' along the lines of "video_cards_x" where 'x' can be cyrix, cirrus, s3, etc. My card is an nvidia...so I'm thinking I can remove most of those. Is there any reason why I shouldn't?


***EDIT***

I noticed you removed 'hal'. What is that? Do I need it?
_________________
-- Coplan
~/ Outland - Art, Music, PHP and Hidden Corners of the Web
-{ Embrace Life. Evolve your computer. Emerge Gentoo. }-
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3445
Location: Gainesville, Florida

PostPosted: Fri Sep 22, 2006 11:13 pm    Post subject: Reply with quote

On all the video USE flags:
That happened because you didn't specify which video drivers to istall in /etc/make.conf when you installed, so it pulled all of them in. Same thing has happened to me when I forgot to specify what I needed. For instance, I forgot to uncomment this line, and specify.

# VIDEO_CARDS=""

it should have been something like:
VIDEO_CARDS="ati vga vesa fbdev"

My card is ati, and I always like to have vesa, vga, and fbdev available as "generic" backups.

To see what drivers you actually have installed, do an:
equery l x11-drivers/xf86

You can:
emerge -C =x11-drivers/xf86-video-whatever

(remove) any of them you don't use, but leaving them in won't hurt anything, and they don't really take up that much disk space.

About the hal and dbus. I temporarily did that because I'm running ~xf86, and a package or two wouldn't compile with that flag enabled. So until I sort that out, I just removed the USE flags. I just synced this box, so I'll try hal and dbus again, and see if it's fixed, or try and figure it out myself.

hal info: http://www.freedesktop.org/wiki/Software/hal

Just because somebody else has certain flags disabled, doesn't necessarily mean that's what anyone else should do. It depends on what else you have installed.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum