Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 19 May 2013, 17:20
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Multi processor notes
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 4944
Location: Australia

PostPosted: Mon 13 Apr 2009, 20:13    Post subject:  Multi processor notes
Subject description: SMP
 

There has been much talk about "SMP" lately, and there are now several Puppy derivatives available with this feature.
"SMP" (symmetric multi processing) support allows the use of more than one processor, and this is the most basic form of multi-processor support in the Linux kernel.

"Hyperthreading" is a simplified form of multi-processing within a single CPU, introduced with late model Pentium 4's.

"Multi-core" support is for recent processors which have independent processing cores within a single CPU.

All three forms of multi-processor support can be enabled within the Linux kernel, and I know that MU and wow enabled all three in the kernel for "Unnamed pupplet (puppy411 kernel-2.6.27.5 Xorg-7.4 LXDE)"
http://www.murga-linux.com/puppy/viewtopic.php?t=36592

So how does this sit with older, non-SMP capable computers?
I experimented with cutting-edge kernels as far back as July 2007 -
http://www.murga-linux.com/puppy/viewtopic.php?t=19719
and I found that this SMP kernel booted just fine on my old Pentium2-350 ...

but I know that many people are not so lucky, and SMP kernels can fail to boot on older computers.
But the fix should be easy - just disable the SMP features with boot options. To disable SMP, hyperthreading, and multicore support at boot time, use these boot options -
Code:
nosmp noht multicore=n

when booting from live CD, you would type this at the prompt:
Code:
puppy nosmp noht multicore=n
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15109
Location: Paradox Realm

PostPosted: Mon 13 Apr 2009, 22:38    Post subject:  

Thanks for info, very interesting.
Puppy Linux Schooling strikes again Smile

Is there a hardware test at this stage that could bypass the need to ask if a multiprocessor is being used?

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10720
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 13 Apr 2009, 23:42    Post subject:  

Sounds like we almost need a new popup screen asking if we want smp or not during bootup.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 3843

PostPosted: Tue 14 Apr 2009, 02:20    Post subject:  

it would be pretty easy to have multiple (descriptive) menu entries via isolinux.cfg and menu.lst ... people with older computers can simply press the down arrow and enter
_________________
Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
fzsolt

Joined: 11 Aug 2007
Posts: 21

PostPosted: Wed 03 Jun 2009, 13:53    Post subject: new puppies on an Abit BH6 with dual Celeron 533  

Hi! I own a computer with an old Abit BH6 (world's one and only mobo designed specifically for dual celeron usage Very Happy ) with a pair of celeron (Mendocino) 533 MHz CPUs installed (512 MB RAM, Matrox G200 video card). Puppies from 1.x to 3.x run fine, although I never tried SMP kernels.
I experimented on this machine since Barry started to implement multiprocessor support in alpha 4 puppies. After many boot failures I noticed that if I disconnect the HDD, they boot. SMP worked. So I concluded that the problem may be the onboard HPT 366 ATA 66 controller.
Little different with final 4.xx Puppies. Retro versions boot with HDD connected, although no harddisks are seen in drive mounter, and of course, no SMP. Non-retro 4.xx versions don't boot. Same for new SMP enabled puppies (NewYears, Lighthouse, aragon's SMP, Slaxter, etc.), simply don't work. After the "booting the kernel" message I end up with a completely blank screen (even if HDD disconnected).
Is there a ready-made (iso) of SMP enabled version 2 or version 3 Puppy somewhere? Or is there a decription somewhere how can I compile a kernel with SMP (but not HyperT, nor multicore) support (and support for HPT 366 too)?
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 606
Location: The old Lone Wolf

PostPosted: Wed 03 Jun 2009, 14:41    Post subject: Re: Multi processor notes
Subject description: SMP
 

tempestuous wrote:
There has been much talk about "SMP" lately, and there are now several Puppy derivatives available with this feature.
"SMP" (symmetric multi processing) support allows the use of more than one processor, and this is the most basic form of multi-processor support in the Linux kernel.


Good info tempestuous, thank you for share. I have a little question, from Which Kernel version the SMP support started?. How old is it?.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3669
Location: UK

PostPosted: Wed 03 Jun 2009, 15:56    Post subject:  

So what happens when using normal nosmp kernels on dual core processors? Are we only using half the processing power available, or can the kernel somehow use it all?
FYI, on my dual-core laptop, standard 4.2 needs the status bar turned off in Pmusic to play evenly, but on 4.2 SMP, its fine, so something is working better.

_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
steevieb


Joined: 30 Dec 2006
Posts: 286
Location: Poole, Dorset. UK

PostPosted: Wed 03 Jun 2009, 18:32    Post subject:  

clarf
The first Puppy 4 series with SMP was Puppy4 Alpha5
Uname -a shows
Linux puppypc 2.6.25.11 #1 SMP Sun Jul 20 22:58:10 GMT-8 2008 i686 GNU/Linux

There may be retro versions using earlier kernels, IDK.

fzsolt
I used to have a mobo with that controller, and I think it shows itself as a SCSI controller.
Are your drives IDE, SCSI or RAID?
You may need a different vmlinuz so that the Highpoint is recognised.
See here and here
If you need a copy of SCSI-1,2 or3, I may be able to upload a copy somewhere. Ted Dog's site is down.

_________________
Slacko 5.3 scsi on Proliant server, 2x2.4ghz P4,18gb & 4x36gb scsi drives, 128mb Radeon Pci, 2gb ram, usb 2, dvd
Back to top
View user's profile Send private message 
fzsolt

Joined: 11 Aug 2007
Posts: 21

PostPosted: Thu 04 Jun 2009, 08:24    Post subject:  

steevieb,

Thank you for your reply. Yes, I noticed that the HPT366 appears in the windows device manager as a SCSI device. But I don't know how is it treated in linux.
There is one IDE HDD (15G Quantum lct something) connected to the HPT366 now, no RAID (the CD drive is connected to the normal IDE connector, so it works and Puppy boots from there).
I will try SCSI puppy. I have an old server case with an Asus P2B-DS board and some SCSI HDDs and optical drives in the drawer, so I am going to try to build a full SCSI Puppy machine.
Why do you still use Dingo 4 alpha5? Is SCSI support dropped from newer 4xx?
Back to top
View user's profile Send private message 
steevieb


Joined: 30 Dec 2006
Posts: 286
Location: Poole, Dorset. UK

PostPosted: Thu 04 Jun 2009, 13:44    Post subject:  

fzsolt wrote:

Why do you still use Dingo 4 alpha5? Is SCSI support dropped from newer 4xx?


I have spent a fair amount of time getting this setup just the way I like it, everything works, and I see no reason to 'upgrade', and although I did try 4.2 I did not get on with it, maybe did not try too hard, though. Smile
MU has an SMP version using the latest kernel, I think it is called Unnamed Pup. Lighthouse is another one I like.
I suspect you will need the SCSI-3 version of vmlinuz so your drives are recognized early enough in the boot process, or just boot from the CD or IDE drive.
There are some recent SMP Pups here here here here

_________________
Slacko 5.3 scsi on Proliant server, 2x2.4ghz P4,18gb & 4x36gb scsi drives, 128mb Radeon Pci, 2gb ram, usb 2, dvd
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 606
Location: The old Lone Wolf

PostPosted: Thu 04 Jun 2009, 16:44    Post subject:  

steevieb wrote:
clarf
The first Puppy 4 series with SMP was Puppy4 Alpha5
Uname -a shows
Linux puppypc 2.6.25.11 #1 SMP Sun Jul 20 22:58:10 GMT-8 2008 i686 GNU/Linux

There may be retro versions using earlier kernels, IDK.


Thanks steevieb, Your answer is about first Puppy with SMP support.

Now I want to know from which kernel version the SMP support started.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 4944
Location: Australia

PostPosted: Thu 04 Jun 2009, 20:39    Post subject:  

clarf wrote:
from Which Kernel version the SMP support started?. How old is it?.

As far back as I can remember. Bear in mind that multi-processor motherboards have been around since about 1997 or 98. They were supported at that time by WindowsNT.

fzsolt wrote:
I own a computer with an old Abit BH6 (world's one and only mobo designed specifically for dual celeron usage)

That should be Abit BP6. The BH6 was a single-processor board.
I had an Abit BE6II with the same HPT366-enhanced IDE ports. I never bothered to connect a drive to these connectors, so I can't confirm whether it works, but certainly the Puppy kernel definitely enables support for the HPT366. The current Puppy 4.1/4.2 kernel configuration has this -
Code:
CONFIG_PATA_HPT366=y


fzsolt wrote:
After many boot failures I noticed that if I disconnect the HDD, they boot.

Were you connected to the HPT366 (3rd & 4th) connectors? I think you need to set the bios to be able to boot to the HPT366 connectors. But I have read that there are incompatibilities between the HPT366 and several harddisks, anyway.
Just use IDE connector 1.

fzsolt wrote:
is there a decription somewhere how can I compile a kernel ..

http://www.puppylinux.com/development/compilekernel.htm
Back to top
View user's profile Send private message 
fzsolt

Joined: 11 Aug 2007
Posts: 21

PostPosted: Tue 09 Jun 2009, 09:56    Post subject:  

steevieb, tempestuous,

Thank you for your detailed answers.
Yes, BH6 is my mistake, the board with two celerons is a BP6 (I had a BH6 before that).
Yesterday I experimented a little, and realized that the other problem in that machine is the Matrox (marvel G200) graphics card. After replacing it for a GeF MX440 and disconnecting the HDD from the HPT366, new 4xx based Puppies booted and worked. I tried 4.1, Tipsy 4.1.3 with universal video drivers and Lighthouse 4.1.2 RC3, all worked and I had SMP in Lighthouse (I had no other SMP version boot CD at hand).
I was rather surprised. What problem the kernel may have with a graphics card during booting, when everything goes in text mode?
When plugged in the HDD, boot failed again. So there can be problems with the HDD, I will try with a different one.
I will try other SMP puppies too, with a different video card and HDD. I think I will open a thread for this mobo in the Hardware section and post my findings there.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0776s ][ Queries: 12 (0.0069s) ][ GZIP on ]