Re: [gentoo-user] SMP

2006-05-22 Thread Mike Williams
On Monday 22 May 2006 17:32, Leandro Melo de Sales wrote:
>   I installed gentoo on a AMD64 Opteron dual. When I use livecd the
> kernel detects 2 cpu's, but when I boot using the installed system (I
> use genkernel), the system detects just 1 cpu. What should I need to
> do?

genkernel --menuconfig all

and make sure smp is turned on.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SMP

2006-05-22 Thread Leandro Melo de Sales

Hi,

 I installed gentoo on a AMD64 Opteron dual. When I use livecd the
kernel detects 2 cpu's, but when I boot using the installed system (I
use genkernel), the system detects just 1 cpu. What should I need to
do?

Leandro

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP not working?

2006-02-13 Thread Iain Buchanan
On Mon, 2006-02-13 at 19:58 -0500, Nick Smith wrote:
> actually the SMP "is" working, as in top shows 2 CPU's.  but when i do
> an emerge --sync CPU1 stays pegged at 99% and CPU0 stays below 1% the
> entire time. this is a dual 200mhz U2 Sparc system, i was just
> wondering if this was normal or is there something messed up in my
> config?

AFAIK, certain operations can't use both CPU's because of the way
they're written.  rsync (used by emerge --sync) may be one.  At least
you'll use one cpu for rsync, and the other cpu for everything else you
may be doing at the time, so you'll still get a performance advantage.

> and sorry for posting this in the normal user list, i figured i would
> get more responses here as i dont think this is specific to Sparc
> hardware, but i could be wrong.

No worries!  I don't know what the "official" word is, but this list is
more a general usage list, rather than gentoo specific issues.
-- 
Iain Buchanan 

How come financial advisors never seem to be as wealthy as they
claim they'll make you?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP not working?

2006-02-13 Thread kashani

Nick Smith wrote:

actually the SMP "is" working, as in top shows 2 CPU's.  but when i do
an emerge --sync CPU1 stays pegged at 99% and CPU0 stays below 1% the
entire time. this is a dual 200mhz U2 Sparc system, i was just
wondering if this was normal or is there something messed up in my
config?

and sorry for posting this in the normal user list, i figured i would
get more responses here as i dont think this is specific to Sparc
hardware, but i could be wrong.


Checked it out on one of my dual servers. There is never more than a 
single process running, emerge, then rsync, then emerge, so the second 
CPU never gets used. However I did see the second CPU doing some 
kjournald while data was being written to the filessytem so it's not a 
total loss on a dual CPU system. :)


kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP not working?

2006-02-13 Thread Heiko Wundram
Am Dienstag, 14. Februar 2006 01:58 schrieb Nick Smith:
> actually the SMP "is" working, as in top shows 2 CPU's.  but when i do
> an emerge --sync CPU1 stays pegged at 99% and CPU0 stays below 1% the
> entire time. this is a dual 200mhz U2 Sparc system, i was just
> wondering if this was normal or is there something messed up in my
> config?

I wouldn't know that rsync was/is parallelizable, and as such two CPUs are 
_never_ used while syncing?

But: I might be wrong.

-- 
--- Heiko.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SMP not working?

2006-02-13 Thread Nick Smith
actually the SMP "is" working, as in top shows 2 CPU's.  but when i do
an emerge --sync CPU1 stays pegged at 99% and CPU0 stays below 1% the
entire time. this is a dual 200mhz U2 Sparc system, i was just
wondering if this was normal or is there something messed up in my
config?

and sorry for posting this in the normal user list, i figured i would
get more responses here as i dont think this is specific to Sparc
hardware, but i could be wrong.

TIA

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-19 Thread Joshua Schmidlkofer
On 10/17/05, A. Khattri <[EMAIL PROTECTED]> wrote:
On Sun, 16 Oct 2005, Mark Knecht wrote:>Was I mistaken in thinking that a true SMP system and also a hyper> threading system would show two processors in top? I am trying out a> new HT kernel built this morning. I've enabled both SMP support and
> hyper threading support but top shows only a single processor.What kind of CPU is it? And what kind of FSB? Not all P4's havehyperthreading (as I discovered recently).If you have Dual Procs + Hyperthreading you ought to have a total of 4 processors  post the contents of /proc/cpuinfo



Re: [gentoo-user] SMP/HT & top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Mark Knecht wrote:

>Was I mistaken in thinking that a true SMP system and also a hyper
> threading system would show two processors in top? I am trying out a
> new HT kernel built this morning. I've enabled both SMP support and
> hyper threading support but top shows only a single processor.

What kind of CPU is it? And what kind of FSB? Not all P4's have
hyperthreading (as I discovered recently).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Chris Boot wrote:

> Yes. You may need to press '1' once you have started top to show each
> processor individually. See the top manpage to see how you can set this
> as the default.

You can also press ? in top (like in many command-line apps) to show a
quick help page. There should be a keypress to write a .toprc file :-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-16 Thread Mark Knecht
On 10/16/05, Chris Boot <[EMAIL PROTECTED]> wrote:
> Mark Knecht wrote:
>
> >Hi,
> >   Was I mistaken in thinking that a true SMP system and also a hyper
> >threading system would show two processors in top? I am trying out a
> >new HT kernel built this morning. I've enabled both SMP support and
> >hyper threading support but top shows only a single processor.
> >
> >   This is not a 'problem'. More a curiosity.
> >
> >1) Do SMP systems show two or more processors with top?
> >
> >
> Yes. You may need to press '1' once you have started top to show each
> processor individually. See the top manpage to see how you can set this
> as the default. Also note you have to be using an SMP kernel for your
> extra CPUs to be used at all, let alone seen by top...

Thanks. That worked very nicely:

[EMAIL PROTECTED] ~ $ top

top - 09:15:42 up  2:19,  1 user,  load average: 0.15, 0.11, 0.12
Tasks:  83 total,   1 running,  82 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0% us,  0.0% sy,  0.0% ni, 98.0% id,  0.0% wa,  0.3% hi,  1.7% si
Cpu1  :  0.0% us,  0.0% sy,  0.3% ni, 99.7% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:498608k total,   492704k used, 5904k free, 1268k buffers
Swap:  1052216k total,  420k used,  1051796k free,   354712k cached

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-16 Thread Chris Boot

Mark Knecht wrote:


Hi,
  Was I mistaken in thinking that a true SMP system and also a hyper
threading system would show two processors in top? I am trying out a
new HT kernel built this morning. I've enabled both SMP support and
hyper threading support but top shows only a single processor.

  This is not a 'problem'. More a curiosity.

1) Do SMP systems show two or more processors with top?
 

Yes. You may need to press '1' once you have started top to show each 
processor individually. See the top manpage to see how you can set this 
as the default. Also note you have to be using an SMP kernel for your 
extra CPUs to be used at all, let alone seen by top...



2) If not top then what else?
3) Should a HT system show multiple processors?

 


Yes, same as the above.


Thanks,
Mark

 




--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/

--
gentoo-user@gentoo.org mailing list



[gentoo-user] SMP/HT & top

2005-10-16 Thread Mark Knecht
Hi,
   Was I mistaken in thinking that a true SMP system and also a hyper
threading system would show two processors in top? I am trying out a
new HT kernel built this morning. I've enabled both SMP support and
hyper threading support but top shows only a single processor.

   This is not a 'problem'. More a curiosity.

1) Do SMP systems show two or more processors with top?

2) If not top then what else?

3) Should a HT system show multiple processors?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [smp related] 2.6.13 is 10x slower than 2.6.12!

2005-10-05 Thread Iain Buchanan
On Tue, 2005-10-04 at 09:36 +0100, Richard Brown wrote:
> On 04/10/05, Iain Buchanan <[EMAIL PROTECTED]> wrote:
> 
> > Any pointers would be appreciated...
> 
> Are you using gentoo-sources? This is the recommended routine here.
> 
> http://dev.gentoo.org/~dsd/genpatches/bugs.htm
> 
> The kernel does have a bugzilla, it's http://bugzilla.kernel.org

thanks.  Luckily I tried bugzilla.kernel.org before I tried the
suggestions on dev.gentoo.org.

For those following this thread, it appears to be a problem with 2.6.13
and C-states...  The original reporter also had a Dell Inspiron 9100, so
maybe its only that laptop.
More here: http://bugzilla.kernel.org/show_bug.cgi?id=5165

There are two patches on bugzilla above, which I'm going to try out.
Hopefully they'll make it into 2.6.13.x soon!
-- 
Iain Buchanan <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [smp related] 2.6.13 is 10x slower than 2.6.12!

2005-10-04 Thread fire-eyes
Iain Buchanan wrote:
> Not long ago, I griped about 2.6.13 being _very_ slow to boot and run.
> My original email is at the bottom.
> 
> I've since recompiled the kernel without SMP and Hyperthreading, and the
> system is _much_ faster.
> 
> So, there is a problem with 2.6.13 and SMP or Hyperthreaded machines.
> Can anyone else confirm this?  What should I do?  Is there a kernel.org
> bugzilla?  Or perhaps I should put it in the gentoo bugzilla?
> 
> Any pointers would be appreciated...
> 
> thanks.
> 
> On Tue, 2005-09-27 at 12:11 +0930, Iain Buchanan wrote:

Curious. I have used many kernels on many real (2 physical cpus) SMP
systems, and have never had problems. In fact they are all currently
running 2.6.13 or higher.

I haven't used anything on HT cpus though, so I don't know about that.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [smp related] 2.6.13 is 10x slower than 2.6.12!

2005-10-04 Thread Richard Brown
On 04/10/05, Iain Buchanan <[EMAIL PROTECTED]> wrote:

> Any pointers would be appreciated...
>

Are you using gentoo-sources? This is the recommended routine here.

http://dev.gentoo.org/~dsd/genpatches/bugs.htm

The kernel does have a bugzilla, it's http://bugzilla.kernel.org

Regards,

--
Richard Brown

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [smp related] 2.6.13 is 10x slower than 2.6.12!

2005-10-03 Thread Iain Buchanan
Not long ago, I griped about 2.6.13 being _very_ slow to boot and run.
My original email is at the bottom.

I've since recompiled the kernel without SMP and Hyperthreading, and the
system is _much_ faster.

So, there is a problem with 2.6.13 and SMP or Hyperthreaded machines.
Can anyone else confirm this?  What should I do?  Is there a kernel.org
bugzilla?  Or perhaps I should put it in the gentoo bugzilla?

Any pointers would be appreciated...

thanks.

On Tue, 2005-09-27 at 12:11 +0930, Iain Buchanan wrote:
> I just compiled 2.6.13-gentoo-r2 with mostly the same options as
> 2.6.12-gentoo-r7 (my reference point).  The first time I booted, it took
> about 10-15 minutes on my 3GHz P4 laptop!  I watched the gdm background
> slowly display over about 30 seconds.
> 
> I thought it might have something to do with the new default timer
> frequency, which I set to 250Hz instead of 1000Hz (which is the default
> for pre 2.6.13 kernels).  According to various online sites, 250Hz
> should still be just as usable, and may even use less power, increasing
> my battery performance...
> 
> So I changed the timer frequency back to 1000Hz, recompiled and now it
> seems a little faster, but no where near 2.6.12.  It now boots in maybe
> 5 minutes, and the gdm theme takes about 5s to display.
> 
> glxgears (not maximised) gives me about 30 fps with a radeon 9700!
> 
> I checked the frequency governor, and the default is still
> 'performance'.  /proc/acpi/processor/CPU0/throttling shows the maximum
> frequency is active as per normal.
> 
> Other kernel options I changed are:
> - support for software suspend added (could this be it? I definitely saw
> the message that no valid suspend was found in my swapfile,
> and /proc/swaps shows that I have swap enabled as per usual)
> - removed unnecessary SCSI drivers (I don't have anything SCSI)
> - removed SATA support (I definitely don't have SATA)
> 
> Info:
> Dell Ispiron 9100, 3 GHz HT Pentium 4
> 2.6.12 and 2.6.13: SMP support for 2 processors included
> 
> I've seen 1 post online about the same thing - slow running 2.6.13, so
> surely there must be some people in the world running it ok!  Any help
> on this would be appreciated.
> 
> TIA,

-- 
Iain Buchanan <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list