Re: Multiple penguins on boot

2008-05-09 Thread Arie Skliarouk
On Thu, May 8, 2008 at 11:49 AM, Moshe Gorohovsky [EMAIL PROTECTED] wrote:

 Where to look for available linux kernel parameters documentation
 on installed Debian GNU/Linux Lenny system?


linux kernel source-Documentation/kernel-parameters.txt

-- 
Arie


Re: Multiple penguins on boot

2008-05-09 Thread Moshe Gorohovsky
Hi,

Tzafrir Cohen wrote:
 On Thu, May 08, 2008 at 12:59:59PM +0300, Shlomi Fish wrote:
 On Thursday 08 May 2008, Moshe Gorohovsky wrote:
 Hi linux-il,

 Hag Sameah!

 I recently set up a linux PC with Intel Core2 Duo CPU.

 I had started the PC up from a knoppix v5.3.1 DVD.
 Linux kernel on this DVD uses graphical framebuffer console and
 shows two penguin images on start-up. My previous machine
 showed a single penguin image. It was AMD K7 CPU (single core).

 Why linux kernel shows two penguin images on boot?
 Does it count CPU cores?

 In a way. The number of penguins is indicative of the number of processors 
 the 
 machine has. I'm getting two processors on my relatively old P4-2.4GHz 
 machine which just has the so-called Hyper-Threading feature.
 
 As far as Linux is concerened, those are two separate processors, for
 the most part.
 
 e.g: you'll see two CPUs in /proc/cpuinfo .
 
Indeed, cat /proc/cpuinfo shows two processors:
processor   : 0
.
processor   : 1
.

Is there a Linux tool to start and run a program till it exits
on specific processor or core?

Moshe.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-09 Thread Moshe Gorohovsky
Arie Skliarouk wrote:
 On Thu, May 8, 2008 at 11:49 AM, Moshe Gorohovsky [EMAIL PROTECTED] wrote:
 
 Where to look for available linux kernel parameters documentation
 on installed Debian GNU/Linux Lenny system?
 
 
 linux kernel source-Documentation/kernel-parameters.txt
 
Thanks.

- Moshe.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-09 Thread Tzafrir Cohen
On Fri, May 09, 2008 at 12:10:10PM +0300, Moshe Gorohovsky wrote:

 Is there a Linux tool to start and run a program till it exits
 on specific processor or core?

On my system: schedtool from the package schedtool

  schedtool -a 1 -e command
  schedtool -a 1 PID

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-09 Thread Michael Tewner
to keep a process on a specific CPU, look up processor affinity.

Meanwhile, dmesg reports as it bring up each CPU the physical # and Core #.
[   88.931544] CPU: Physical Processor ID: 0
[   88.931545] CPU: Processor Core ID: 2

And, if you have multiple physical processors, it assigns each core to
a scheduling domain for each Physical CPU (from a dual-xuad-xeon):

[   80.251504] Brought up 8 CPUs
[   80.251546] CPU0 attaching sched-domain:
[   80.251548]  domain 0: span 03
[   80.251549]   groups: 01 02
[   80.251552]   domain 1: span ff
[   80.251553]groups: 03 0c 30 c0
[   80.251556] CPU1 attaching sched-domain:
[   80.251557]  domain 0: span 03
[   80.251558]   groups: 02 01
[   80.251560]   domain 1: span ff
[   80.251561]groups: 03 0c 30 c0
[   80.251563] CPU2 attaching sched-domain:
[   80.251564]  domain 0: span 0c
[   80.251566]   groups: 04 08
[   80.251567]   domain 1: span ff
[   80.251568]groups: 0c 30 c0 03
[   80.251571] CPU3 attaching sched-domain:
[   80.251572]  domain 0: span 0c
[   80.251573]   groups: 08 04
[   80.251575]   domain 1: span ff
[   80.251576]groups: 0c 30 c0 03
[   80.251579] CPU4 attaching sched-domain:
[   80.251580]  domain 0: span 30
[   80.251581]   groups: 10 20
[   80.251583]   domain 1: span ff
[   80.251584]groups: 30 c0 03 0c
[   80.251586] CPU5 attaching sched-domain:
[   80.251587]  domain 0: span 30
[   80.251588]   groups: 20 10
[   80.251590]   domain 1: span ff
[   80.251591]groups: 30 c0 03 0c
[   80.251594] CPU6 attaching sched-domain:
[   80.251595]  domain 0: span c0
[   80.251596]   groups: 40 80
[   80.251598]   domain 1: span ff
[   80.251599]groups: c0 03 0c 30
[   80.251601] CPU7 attaching sched-domain:
[   80.251602]  domain 0: span c0
[   80.251604]   groups: 80 40
[   80.251605]   domain 1: span ff
[   80.251607]groups: c0 03 0c 30


On Fri, May 9, 2008 at 12:10 PM, Moshe Gorohovsky [EMAIL PROTECTED] wrote:
 Hi,

 Tzafrir Cohen wrote:
 On Thu, May 08, 2008 at 12:59:59PM +0300, Shlomi Fish wrote:
 On Thursday 08 May 2008, Moshe Gorohovsky wrote:
 Hi linux-il,

 Hag Sameah!

 I recently set up a linux PC with Intel Core2 Duo CPU.

 I had started the PC up from a knoppix v5.3.1 DVD.
 Linux kernel on this DVD uses graphical framebuffer console and
 shows two penguin images on start-up. My previous machine
 showed a single penguin image. It was AMD K7 CPU (single core).

 Why linux kernel shows two penguin images on boot?
 Does it count CPU cores?

 In a way. The number of penguins is indicative of the number of processors 
 the
 machine has. I'm getting two processors on my relatively old P4-2.4GHz
 machine which just has the so-called Hyper-Threading feature.

 As far as Linux is concerened, those are two separate processors, for
 the most part.

 e.g: you'll see two CPUs in /proc/cpuinfo .

 Indeed, cat /proc/cpuinfo shows two processors:
 processor   : 0
 .
 processor   : 1
 .

 Is there a Linux tool to start and run a program till it exits
 on specific processor or core?

 Moshe.


 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Multiple penguins on boot

2008-05-08 Thread Moshe Gorohovsky
Hi linux-il,

Hag Sameah!

I recently set up a linux PC with Intel Core2 Duo CPU.

I had started the PC up from a knoppix v5.3.1 DVD.
Linux kernel on this DVD uses graphical framebuffer console and
shows two penguin images on start-up. My previous machine
showed a single penguin image. It was AMD K7 CPU (single core).

Why linux kernel shows two penguin images on boot?
Does it count CPU cores?

How to set up Debian GNU/Linux Lenny linux kernel to use framebuffer
console on boot, instead of VGA console that it uses by default?

Where to look for available linux kernel parameters documentation
on installed Debian GNU/Linux Lenny system?

- Moshe

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-08 Thread ik
Hi,

On Thu, May 8, 2008 at 11:49 AM, Moshe Gorohovsky [EMAIL PROTECTED] wrote:
 Hi linux-il,

  Hag Sameah!

  I recently set up a linux PC with Intel Core2 Duo CPU.

  I had started the PC up from a knoppix v5.3.1 DVD.
  Linux kernel on this DVD uses graphical framebuffer console and
  shows two penguin images on start-up. My previous machine
  showed a single penguin image. It was AMD K7 CPU (single core).

  Why linux kernel shows two penguin images on boot?
  Does it count CPU cores?

Yes


  How to set up Debian GNU/Linux Lenny linux kernel to use framebuffer
  console on boot, instead of VGA console that it uses by default?

If you are using Grub, you can set up a resolution (only if the kernel
was compiled to support it):
http://ubuntuforums.org/showthread.php?t=258484


  Where to look for available linux kernel parameters documentation
  on installed Debian GNU/Linux Lenny system?

  - Moshe



Ido
-- 
http://ik.homelinux.org/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-08 Thread Shlomi Fish
On Thursday 08 May 2008, Moshe Gorohovsky wrote:
 Hi linux-il,

 Hag Sameah!

 I recently set up a linux PC with Intel Core2 Duo CPU.

 I had started the PC up from a knoppix v5.3.1 DVD.
 Linux kernel on this DVD uses graphical framebuffer console and
 shows two penguin images on start-up. My previous machine
 showed a single penguin image. It was AMD K7 CPU (single core).

 Why linux kernel shows two penguin images on boot?
 Does it count CPU cores?


In a way. The number of penguins is indicative of the number of processors the 
machine has. I'm getting two processors on my relatively old P4-2.4GHz 
machine which just has the so-called Hyper-Threading feature.

Regards,

Shlomi Fish

-
Shlomi Fish   http://www.shlomifish.org/
Parody on The Fountainhead - http://xrl.us/bjria

The bad thing about hardware is that it sometimes work and sometimes doesn't.
The good thing about software is that it's consistent: it always does not
work, and it always does not work in exactly the same way.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-08 Thread Michael Tewner
A recent version of the Linux kernel will see two CPU's but know
they're on the same physical processor. This is important especially
when you have multiple physical multi-core processors.

Multiple cores share text segments- the kernel will try to keep
multiple threads of the same process on the same physical CPU.

On 5/8/08, Shlomi Fish [EMAIL PROTECTED] wrote:
 On Thursday 08 May 2008, Moshe Gorohovsky wrote:
 Hi linux-il,

 Hag Sameah!

 I recently set up a linux PC with Intel Core2 Duo CPU.

 I had started the PC up from a knoppix v5.3.1 DVD.
 Linux kernel on this DVD uses graphical framebuffer console and
 shows two penguin images on start-up. My previous machine
 showed a single penguin image. It was AMD K7 CPU (single core).

 Why linux kernel shows two penguin images on boot?
 Does it count CPU cores?


 In a way. The number of penguins is indicative of the number of processors
 the
 machine has. I'm getting two processors on my relatively old P4-2.4GHz
 machine which just has the so-called Hyper-Threading feature.

 Regards,

   Shlomi Fish

 -
 Shlomi Fish   http://www.shlomifish.org/
 Parody on The Fountainhead - http://xrl.us/bjria

 The bad thing about hardware is that it sometimes work and sometimes
 doesn't.
 The good thing about software is that it's consistent: it always does not
 work, and it always does not work in exactly the same way.

 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-08 Thread Moshe Gorohovsky
Hi,

Thank you for the answers.

Moshe.

Michael Tewner wrote:
 A recent version of the Linux kernel will see two CPU's but know
 they're on the same physical processor. This is important especially
 when you have multiple physical multi-core processors.
 
 Multiple cores share text segments- the kernel will try to keep
 multiple threads of the same process on the same physical CPU.
 
 On 5/8/08, Shlomi Fish [EMAIL PROTECTED] wrote:
 On Thursday 08 May 2008, Moshe Gorohovsky wrote:
 Hi linux-il,

 Hag Sameah!

 I recently set up a linux PC with Intel Core2 Duo CPU.

 I had started the PC up from a knoppix v5.3.1 DVD.
 Linux kernel on this DVD uses graphical framebuffer console and
 shows two penguin images on start-up. My previous machine
 showed a single penguin image. It was AMD K7 CPU (single core).

 Why linux kernel shows two penguin images on boot?
 Does it count CPU cores?

 In a way. The number of penguins is indicative of the number of processors
 the
 machine has. I'm getting two processors on my relatively old P4-2.4GHz
 machine which just has the so-called Hyper-Threading feature.

 Regards,

  Shlomi Fish

 -
 Shlomi Fish   http://www.shlomifish.org/
 Parody on The Fountainhead - http://xrl.us/bjria

 The bad thing about hardware is that it sometimes work and sometimes
 doesn't.
 The good thing about software is that it's consistent: it always does not
 work, and it always does not work in exactly the same way.

 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]


 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Multiple penguins on boot

2008-05-08 Thread Tzafrir Cohen
On Thu, May 08, 2008 at 12:59:59PM +0300, Shlomi Fish wrote:
 On Thursday 08 May 2008, Moshe Gorohovsky wrote:
  Hi linux-il,
 
  Hag Sameah!
 
  I recently set up a linux PC with Intel Core2 Duo CPU.
 
  I had started the PC up from a knoppix v5.3.1 DVD.
  Linux kernel on this DVD uses graphical framebuffer console and
  shows two penguin images on start-up. My previous machine
  showed a single penguin image. It was AMD K7 CPU (single core).
 
  Why linux kernel shows two penguin images on boot?
  Does it count CPU cores?
 
 
 In a way. The number of penguins is indicative of the number of processors 
 the 
 machine has. I'm getting two processors on my relatively old P4-2.4GHz 
 machine which just has the so-called Hyper-Threading feature.

As far as Linux is concerened, those are two separate processors, for
the most part.

e.g: you'll see two CPUs in /proc/cpuinfo .

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]