| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-14-2003, 12:27 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2003
Location: Western New York
Distribution: mdk
Posts: 5
Rep:
|
mdk 9.1 p4 hyperthread/smp
I'm fairly new to linux, and have been tinkering w/mdk for a while. I recently built a new system (msi 865g neo2, p4 2.6ghz) and enabled hyperthreading in the system bios. Windows XP sees/enables support for hyperthreading just fine. However, when installing mdk 9.1, only the non-smp kernel is installed. Shouldn't it automatically configure the smp kernel? If you look on cd1, both the smp and non smp kernels are there. Looking at /proc/cpuinfo the hyperthreading flag "ht" does show up in the list of cpu flags.
Looking at the system logs through MCC, the kernel identifies itself with the following entry "kernel: Linux version 2.4.21-0.13mdk (flepied@bi.mandrakesoft.com) (gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #1 Fri Mar 14 15:08:06 EST 2003"
How do I switch to the smp kernel?
Thanks,
Gary...
|
|
|
|
09-14-2003, 04:10 PM
|
#2
|
|
Member
Registered: Aug 2003
Location: Berlin
Distribution: Mandrake, Debian, Suse
Posts: 44
Rep:
|
Try simply going into MCC and using RPMDrake to install it. Should be all you need. The package is called kernel-smp-2.4.21.0.25mdk or similar.
|
|
|
|
09-14-2003, 07:14 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2003
Location: Western New York
Distribution: mdk
Posts: 5
Original Poster
Rep:
|
Thanks. I gave that a try. Although I can now boot to either kernel, the smp kernel (2.4.21.0.25) reports only one cpu.
Is anyone running mdk 9.1 w/a p4 with hyperthreading enabled? How did you get the smp kernel to detect both logical CPUs?

|
|
|
|
09-17-2003, 11:43 AM
|
#4
|
|
Member
Registered: Jul 2003
Location: USA,N.C.
Distribution: mandrake 10.1
Posts: 79
Rep:
|
hi
I am running a P4 3.06 hyperthread with the smp kernel tried all of the kernels that came with the mdk power pack and smp was the only one that would run things correctly.(gigabit 8inxp mainboard)
I dont know if my system is seeing 1 or 2 processors how did you check this?
|
|
|
|
09-17-2003, 08:40 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2003
Location: Western New York
Distribution: mdk
Posts: 5
Original Poster
Rep:
|
From everything I've seen, you should be able to enter "cat /proc/cupinfo" to see what the kernel detected.
I posted essentially the same question over on the mdk unofficial users board ( http://www.mandrakeusers.org/viewtop...?p=64944#64944), but haven't had a chance to try it.
|
|
|
|
09-17-2003, 09:02 PM
|
#6
|
|
Member
Registered: Jul 2003
Location: USA,N.C.
Distribution: mandrake 10.1
Posts: 79
Rep:
|
i am only showing 1 processor in mandrake control center but i am not sure if two will show up there when hyperthread is enable.
I f you find the answer somewhere else please post it here
|
|
|
|
09-18-2003, 03:37 AM
|
#7
|
|
Member
Registered: Aug 2003
Location: Italy
Distribution: Gentoo, Fedora, Ubuntu
Posts: 30
Rep:
|
Hi all
I use an HT CPU with Mandrake 9.2b2...when I look into the Kernel Boot Log I find that 2 Processors are found: 0 and 1.
But I really don't know if the system manages correctly both or still uses the first only...
Hope this helps
Ciao
|
|
|
|
09-18-2003, 06:54 AM
|
#8
|
|
Member
Registered: Jul 2003
Location: USA,N.C.
Distribution: mandrake 10.1
Posts: 79
Rep:
|
i have processor 0 and 1 also. I guess if it is seeing two then it is working correctly.But i do not know how to confirm this>
|
|
|
|
09-20-2003, 09:34 AM
|
#9
|
|
LQ Newbie
Registered: Sep 2003
Location: Western New York
Distribution: mdk
Posts: 5
Original Poster
Rep:
|
Over on the mandrakeusers.org forum (the link provided in a previous post in this thread), the suggestion of adding "acpismp=force" on the kernel command parameters did the trick. In my case, MDK had placed "acpi=off" in the parameter list, which also had to be removed before the smp kernel recognized both of the virtual processors.
One easy way to determine how the smp kernel will utilize both of the logical cpus is to install/run the "gkrellm" system monitor, which will graph the usage of each cpu. If you are using a recent version of mdk, it's bundled on the CDs, but not necessarily installed by default. You can use rpmdrake to install it.
|
|
|
|
09-20-2003, 11:17 AM
|
#10
|
|
Member
Registered: Jul 2003
Location: USA,N.C.
Distribution: mandrake 10.1
Posts: 79
Rep:
|
thanks garyrny
i'll try gkrellm and see what is going on with the cpu
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:23 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|