1838681 Members
3902 Online
110128 Solutions
New Discussion

uname info

 
SOLVED
Go to solution
Scott McDade
Frequent Advisor

uname info

Hello:

I am working on porting my ANSI C based application from HPUX 11i to LINUX. The distro of Linux I am using is RH 4 Enterprise Workstation. I mangaged to get all my source to compile and now I am in the middle of doing some performance studies on my application and it seems to be slightly slower then on HPUX 11i. So I started looking out on RH website and noticed they have distros for i386, x86 and ia64. I am not sure I installed the correct package for my uProc. So just poking around I did the following and got the following output. Does this look ok?

#uname –i
i386
#uname -p
i686

How do I know I have installed the correct disto for my uProc type?


Keep it Simple!~
8 REPLIES 8
Ragu_3
Trusted Contributor

Re: uname info

Is your server a Xeon or an AMD Opteron/Athlon based one? What does "cat /proc/cpuinfo" say?

You can recompile your kernel for the specific proc that it has.
Debian GNU/Linux for the Enterprise! Ask HP ...
Steven E. Protter
Exalted Contributor

Re: uname info

Shalom,

PA-RISC was and is a more efficient architecture than Intel. PA-RISC and similar generation Intel chips prove that.

There is nothing wrong with a slight performance drop going to Linux. Lots of possible factors, code optimized for PA-RISC, different compilers, 64 bit processor versus 32 bit, lots of potential factors.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Scott McDade
Frequent Advisor

Re: uname info

Hello Ragu-

It is a Xeon uProc, how can I recompile the kernel for that specific uproc?
Keep it Simple!~
Ragu_3
Trusted Contributor

Re: uname info

Intel Xeons come in two varieties. For the recent ones, you can choose the "Generic x86-64" proc type. For the older Xeons, it is
"EM64T". Please choose this option while configuring your kernel specific to your machine.

YMMV.
Debian GNU/Linux for the Enterprise! Ask HP ...
Scott McDade
Frequent Advisor

Re: uname info

Ragu:

Is there a process for configuring the kernel with with a new uProc? Do I simply change the /proc/cpuinfo file or is there a specific process?

Many Thanks - S
Keep it Simple!~
Alpha977
Valued Contributor

Re: uname info

Hello! You can recompile the kernel manually or via an rpm file.

The manual recompile is not easy but is the better way for have a good tuning.

The rpm is fast and easy but not accurate like the manual mode.

see this link:
http://recompile.org/

Hope helpful!

Bye!
Vitaly Karasik_1
Honored Contributor
Solution

Re: uname info

I won't recommend you to recompile linux kernel - in the best case you'll improve your performance in a 2-3%%, but you'll have many troubles with the future upgrades, 3rdparty modules, RH support and so on.

i386 and x86 are the same architechtures.
i32_64 *may* improve performance for memory-intensite applications and on server with big RAM.

What is your RISC server and Intel server config - CPU/RAM/disk system?
Ragu_3
Trusted Contributor

Re: uname info

>> Is there a process for configuring the
>> kernel with with a new uProc?

You choose the CPU details while configuring your kernel using the make config or make menuconfig scripts, inside the top-level of the source dir.

There is no seperate process to do this but in Debian, this can be done elegantly by using the "kernel-package" uty. This also helps you keep track of your kernel compile jobs.


Debian GNU/Linux for the Enterprise! Ask HP ...