Re: [1/2OT] htop for 128 processors
Am Freitag, 18. Januar 2013 schrieb Stan Hoeppner:
> On 1/17/2013 9:53 PM, lina wrote:
> > On Friday 18,January,2013 11:18 AM, Stan Hoeppner wrote:
> >> What system do you possess that has 128 cores/hardware threads? HP
> >> DL980? Supermicro 5086B-TRF? What are you using it for? That's a
> >> tremendous amount of horsepower...
> >
> > I can't find the answer in a simple command, here are the information I
> > can grab so far, any further question/suggestion just let me know,
>
> I assumed you could simply walk up and look at the front of the box.
> Apparently not. It is in a datacenter, which apparently you don't have
> access to? No big deal though. Knowing the vendor wasn't as important
> as verifying it is indeed an 8 socket box.
>
> > [lina@mars ~]$ /usr/sbin/dmidecode
> > # dmidecode 2.10
> > /dev/mem: Permission denied
>
> dmidecode might tell you the vendor, might not, but it'll tell you the
> BIOS vendor and rev, which may be a good clue to the vendor. But you
> don't have root.
>
> > $ lscpu
> > Architecture: x86_64
> > CPU op-mode(s): 32-bit, 64-bit
> > CPU(s): 128
> > Thread(s) per core: 2
> > Core(s) per socket: 8
> > CPU socket(s): 8
> > NUMA node(s): 8
> > Vendor ID: GenuineIntel
>
> It is indeed an 8 socket 8 core, 2 threads/core Xeon box. Impressive.
> And costly--over $70K USD for that one box, not including its storage
> (or service contract). How much memory does top or 'free -g' report?
> How about /bin/df so we can see how much storage is attached?
From what is visible in dmesg not that much:
martin@merkaba:~> grep "logical blocks" Zeit/dmesg
sd 0:2:0:0: [sda] 5847650304 512-byte logical blocks: (2.99 TB/2.72 TiB)
sd 1:2:0:0: [sdb] 5847650304 512-byte logical blocks: (2.99 TB/2.72 TiB)
martin@merkaba:~> grep "vg_mars" Zeit/dmesg
Command line: ro root=/dev/mapper/vg_mars-lv_root rd_LVM_LV=vg_mars/lv_root rd_LVM_LV=vg_mars/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
Kernel command line: ro root=/dev/mapper/vg_mars-lv_root rd_LVM_LV=vg_mars/lv_root rd_LVM_LV=vg_mars/lv_swap rd_NO_LUKS rd_NO_MD
rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=129M@0M rhgb quiet
dracut: Scanning devices sdb2 for LVM logical volumes vg_mars/lv_root vg_mars/lv_swap
dracut: inactive '/dev/vg_mars/lv_root' [50.00 GiB] inherit
dracut: inactive '/dev/vg_mars/lv_home' [1.86 TiB] inherit
dracut: inactive '/dev/vg_mars/lv_swap' [96.59 GiB] inherit
dracut: Mounted root filesystem /dev/mapper/vg_mars-lv_root
Adding 101285880k swap on /dev/mapper/vg_mars-lv_swap. Priority:-1 extents:1 across:101285880k
I think this might be able to calculated to a memory total:
init_memory_mapping: 0000000000000000-000000007f800000
0000000000 - 007f800000 page 2M
kernel direct mapping tables up to 7f800000 @ 8000-b000
init_memory_mapping: 0000000100000000-0000001880000000
0100000000 - 1880000000 page 2M
martin@merkaba:~> irb
irb(main):001:0> 0x007f800000
=> 2139095040
irb(main):002:0> 0x1880000000 - 0x0100000000
=> 100931731456
irb(main):003:0> 2139095040 / 1024.0 / 1024.0 / 1024.0
=> 1.9921875
irb(main):004:0> 100931731456 / 1024.0 / 1024.0 / 1024.0
=> 94.0
irb(main):005:0>
So 2 GiB + 94 GiB? I might be off with my calculation :). And maybe that
is not all of the memory. I am not that deep into parsing dmesg for that
information.
Mapping per node:
On node 0 totalpages: 2092836
DMA zone: 56 pages used for memmap
DMA zone: 198 pages reserved
DMA zone: 3741 pages, LIFO batch:0
DMA32 zone: 14280 pages used for memmap
DMA32 zone: 501697 pages, LIFO batch:31
Normal zone: 21504 pages used for memmap
Normal zone: 1551360 pages, LIFO batch:31
On node 1 totalpages: 2097152
Normal zone: 28672 pages used for memmap
Normal zone: 2068480 pages, LIFO batch:31
On node 2 totalpages: 2097152
Normal zone: 28672 pages used for memmap
Normal zone: 2068480 pages, LIFO batch:31
On node 3 totalpages: 2097152
Normal zone: 28672 pages used for memmap
Normal zone: 2068480 pages, LIFO batch:31
On node 4 totalpages: 4194304
Normal zone: 57344 pages used for memmap
Normal zone: 4136960 pages, LIFO batch:31
On node 5 totalpages: 4194304
Normal zone: 57344 pages used for memmap
Normal zone: 4136960 pages, LIFO batch:31
On node 6 totalpages: 4194304
Normal zone: 57344 pages used for memmap
Normal zone: 4136960 pages, LIFO batch:31
On node 7 totalpages: 4194304
Normal zone: 57344 pages used for memmap
Normal zone: 4136960 pages, LIFO batch:31
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
Reply to: