Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Dummy question about /proc/cpuinfo Post 302247509 by jhc on Wednesday 15th of October 2008 08:09:54 PM
Old 10-15-2008
Dummy question about /proc/cpuinfo

Perhaps this is a very dummy question but sorry I don't know other place to do it. We just buy a new cluster of Xeon machines but there is something I don't understand and perhaps someone can help me.

The more /proc/cpuinfo produces the following output (just part of it).

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU E5420 @ 2.50GHz
stepping : 6
cpu MHz : 1998.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4

I revise the E5420 specifications and it says that it has 12MB of cache, however only 6MB are reported in the cpuinfo. Can someone help me
to understand this?

Thank you in advance.

Jorge
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix dummy's question

:confused: Hi, 2 questions to get some insight. Thanks (1) I would like to add a prefix (XX00) in each row of the line in my text file and save a newly generated file another name. How to go about it. (2) How to insert a blank line into each row in my file. and save the file another name.... (2 Replies)
Discussion started by: merry susana
2 Replies

2. UNIX for Dummies Questions & Answers

question from a dummy

okay so I just started this unix class and understood all the test questions but this "normal" question threy me through a loop :confused:. The question is Why are UNIX commands noninteractive and why is their output not usually preceededby header information? This question has been driving me... (2 Replies)
Discussion started by: cinnamonbear
2 Replies

3. Filesystems, Disks and Memory

A simple dummy question

Hello Everyone! changing from Microsoft to Macintosh, I connected my hard disk (nearly full) to the apple computer, which could not recognize it. I was prompt to "initialize it", unfortunately I DECIDED YES!!, but just for 1/100 of a second: now I cannot access the hard disk at all. Is still... (1 Reply)
Discussion started by: NETTO68
1 Replies

4. UNIX for Dummies Questions & Answers

a dummy question...needs help...

I am trying to use 'cut' to get a line from my file. But it seems that 'cut' recongnizes TAB as default. My file uses space instead. So 'cut' doesn't work. Anybody can tell me how to change the default from TAB to space ? Or how to transform a space-delimited file into tab-delimited file??... (2 Replies)
Discussion started by: kaixinsjtu
2 Replies

5. UNIX for Dummies Questions & Answers

Definition of "siblings" in /proc/cpuinfo

So, I'm looking over /proc/cpuinfo and have a question... I've read that "siblings" refers to hyperthreading, but that seems odd considering the contents of cpuinfo. Here's a part: model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz physical id : 0 siblings : 4 core... (1 Reply)
Discussion started by: treesloth
1 Replies

6. Red Hat

Question on /proc/cpuinfo

Hi, I wanted to understand what exactly /proc/cpuinfo shows? We have a machine with following specification... (2x) Intel Xeon 6-core processors So, ideally it shouls have 12processors, but the output on /proc/cpuinfo shows 24 processors. Can someone please explain how this is... (3 Replies)
Discussion started by: shrshah64
3 Replies

7. SuSE

Post Your /proc/cpuinfo here!

Here is a chance for Linux users to easily compare Linux CPU info and some meaningless BOGOMIPS. Everyone who is running Linux is welcome to: cat /proc/cpuinfo and post the results. Here is the results for www.unix.com: processor : 0 vendor_id : AuthenticAMD cpu family... (182 Replies)
Discussion started by: Neo
182 Replies

8. IP Networking

DNS dummy question

Hello everyone, I have a some doubt about DNS. We have connected to 2 ISPs /ISP#1 and ISP#2/. Our web site's dns zone is located on ISP#1. If connection to ISP#1 is down clients won't find our website. ISP#1 connection went down few times this month. So we are going to create our website's... (0 Replies)
Discussion started by: sembii
0 Replies

9. UNIX for Dummies Questions & Answers

Dummy question on awk

Hi, I have a file which has three columns and 200 rows. I would like to print an extra column say "disco" for every 10 th row starting from 4 th row. How is that possible? Thnx (4 Replies)
Discussion started by: Indra2011
4 Replies

10. UNIX for Beginners Questions & Answers

Dummy Question

Where can I get UNIX? (1 Reply)
Discussion started by: ciao303
1 Replies
Module::Optional(3pm)					User Contributed Perl Documentation				     Module::Optional(3pm)

NAME
Module::Optional - Breaking module dependency chains SYNOPSIS
use Bar::Dummy qw(); use Module::Optional Bar; ABSTRACT
This module provides a way of using a module which may or may not be installed on the target machine. If the module is available it behaves as a straight use. If the module is not available, subs are repointed to their equivalents in a dummy namespace. DESCRIPTION
Suppose you are the developer of module "Foo", which uses functionality from the highly controversial module "Bar". You actually quite like "Bar", and want to reuse its functionality in your "Foo" module. But, many people will refuse to install "Foo" as it needs "Bar". Maybe "Bar" is failing tests or is misbehaving on some platforms. Making "Bar" an optional module will allow users to run "Foo" that don't have "Bar" installed. For Module::Build users, this involves changing the status of the "Bar" dependency from "requires" to "recommends". To use this module, you need to set up a namespace "Bar::Dummy". The recommended way of doing this is to ship lib/Bar/Dummy.pm with your module. This could be shipped as a standalone module. A dummy module for "Params::Validate" is shipped with Module::Optional, as this was the original motivation for the module. If there are other common candidates for dummying, petition me, and I'll include them in the Module::Optional distribution. Using an optional module Place the lines of code in the following order: use Bar::Dummy qw(); use Module::Optional qw(Bar quux wibble wobble); Always set up the dummy module first, but don't import anything - this is to avoid warnings about redefined subroutines if the real Bar is installed on the target machine. Module::Optional will do the importing: quux wibble and wobble from the real Bar if it exists, or from Bar::Dummy if it doesn't. Asking for a module version If you need a version of the module or later, this can be done thus: use Bar::Dummy qw(); use Module::Optional qw(Bar 0.07 quux wibble wobble); If version 0.07 or later of Bar is not available, the dummy is used. Suppressing the module You will probably be developing your module on a platform that does have Bar installed (I hope). However, you need to be able to tell what happens on systems without Bar. To do this, run the following (example is Unix): MODULE_OPTIONAL_SKIP=1 make test You also want to do this in tests for the dummy module that you are providing. (You are providing tests for this module?) This can easily be done with a begin block at the top of the test: BEGIN { local $ENV{MODULE_OPTIONAL_SKIP} = 1; use Module::Optional qw(Params::Validate); } Writing a ::Dummy Module You provide a namespace suffixed with ::Dummy containing subs corresponding to all the subs and method calls for the optional module. You should also provide the same exports as the module itself performs. Adhere strictly to any prototypes in the optional module. An example of a dummy module is Params::Validate::Dummy, provided in this distribution. INTERNALS
Module::Optional performs two types of redirection for the missing module. Firstly via @ISA inheritance - Foo::Bar inherits from Foo::Bar::Dummy. Secondly, an AUTOLOAD method is added to Foo::Bar, which will catch calls to subs in this namespace. BUGS
Please report bugs to rt.cpan.org by posting to bugs-module-optional@rt.cpan.org or visiting https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Optional. AUTHOR
Ivor Williams ivorw-mod-opt at xemaps.com COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. SEE ALSO
Test::MockModule, Module::Pluggable, Module::Build. perl v5.10.1 2010-12-17 Module::Optional(3pm)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy