Re: probleme ram :: cind dmidecode difera de free

Catalin Muresan <[email protected]>
Newsgroups gmane.org.user-groups.rlug.general
Message-ID <CABVLhjEYOkjutb8YwO2ohNnO7CEtgbfd4F9xv-53Dxr_dLTu+A@mail.gmail.com>
2016-10-26 18:00 GMT+01:00 Adrian Sevcenco <[email protected]>:

> Salut! Am intilnit o problema ciudata si nu stiu cum sa o procesez :
>
> [root@compute-0-0 ~]# dmidecode -t memory | grep -E 'Size.*MB'
>         Size: 1024 MB
>         Size: 1024 MB
>         Size: 1024 MB
>         Size: 1024 MB
>
> [root@compute-0-0 ~]# free -m
>              total       used       free     shared    buffers     cached
> Mem:          7998       1437       6560          0        396        722
> -/+ buffers/cache:        318       7679
> Swap:         8191          0       8191
>
> [root@compute-0-0 ~]# hwloc-ls --no-caches
> Machine (7998MB)
> .....
>
> [root@compute-0-0 ~]# numastat -m | grep MemTotal
> MemTotal 8190.93 8190.93
>
> e clar ca memoria e busita .. iar joburi pe masina imi crapa cu
> std::bad_alloc ..
> dar de ce, inclusiv dupa reboot free -m imi arata 8 gb???
> daca ar arata marimea ce functioneaza as putea sa fac ceva, ar functiona
> swapul,
> si as reduce joburile pe masina ...
>
> Ceva idei in legatura cu conditiile in care pot aparea astfel de
> discrepante?
>

dmesg | grep 0.000000

(cam tot legat de linux care detecteaza memoria ar fi acolo, daca nu,
adauga mai mult, pina la, inclusiv "Memory:").

pune ce iese intr-un pastebin sa vedem si noi.

in cel mai rau caz poti "rezolva" cu mem=

mem=nn[KMG] [KNL,BOOT] Force usage of a specific amount of memory
Amount of memory to be used when the kernel is not able
to see the whole system memory or for test.
[X86] Work as limiting max address. Use together
with memmap= to avoid physical address space collisions.
Without memmap= PCI devices could be placed at addresses
belonging to unused RAM.

sau mai bine (tocmai am aflat si eu ca este, citind documentatia)

memtest= [KNL,X86,ARM] Enable memtest
Format: <integer>
default : 0 <disable>
Specifies the number of memtest passes to be
performed. Each pass selects another test
pattern from a given set of patterns. Memtest
fills the memory with this pattern, validates
memory contents and reserves bad memory
regions that are detected.

memtest=2 ar trebui sa se miste repede la boot.

Spune-ne si noua ce iese


>
> Multumesc frumos!
> Adrian
>
>
>
>
> _______________________________________________
> RLUG mailing list
> [email protected]
> http://lists.lug.ro/mailman/listinfo/rlug
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.