我最近购买了新系统联想 G41-35 并在其中安装了 Ubuntu 16.04 LTS。
我的 RAM 是 8GB,但由于某种原因,它只显示3.3 GiB
在详细信息中。
如何在我的 ubuntu 系统中使用 8GB Ram。
查看完整信息:
以下是一些带有输出的命令:
free -m
输出:
total used free shared buff/cache available
Mem: 3354 1080 757 51 1515 1922
Swap: 24412 0 24412
sudo lshw -class memory
输出:
*-firmware
description: BIOS
vendor: Lenovo
physical id: 0
version: C3CN54WW
date: 11/18/2015
size: 128KiB
capacity: 8128KiB
capabilities: pci upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer int10video pc98 acpi usb biosbootspecification netboot
*-cache:0
description: L1 cache
physical id: 28
slot: L1 Cache
size: 256KiB
capacity: 256KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 29
slot: L2 Cache
size: 2MiB
capacity: 2MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-memory
description: System Memory
physical id: 2a
slot: System board or motherboard
size: 8GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
product: 9905417-075.A00G
vendor: Kingston
physical id: 0
serial: 2C2602BF
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 1333MHz (0.8ns)
*-bank:1
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: EBJ40UG8EFU0-GN-F
vendor: Elpida
physical id: 1
serial: 95CB18FD
slot: DIMM 1
size: 4GiB
width: 64 bits
clock: 1600MHz (0.6ns)
uname -a
输出:
Linux muhammad-mohsin 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5
09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
uname -m
输出:
x86_64
sudo lshw | grep -m 1 -A 25 "*-memory"
输出:
*-memory
description: System Memory
physical id: 2a
slot: System board or motherboard
size: 8GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
product: 9905417-075.A00G
vendor: Kingston
physical id: 0
serial: 2C2602BF
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 1333MHz (0.8ns)
*-bank:1
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: EBJ40UG8EFU0-GN-F
vendor: Elpida
physical id: 1
serial: 95CB18FD
slot: DIMM 1
size: 4GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-pci:0
sudo lshw -short -C memory
输出:
H/W path Device Class Description
==================================================================
/0/0 memory 128KiB BIOS
/0/27/28 memory 256KiB L1 cache
/0/27/29 memory 2MiB L2 cache
/0/2a memory 8GiB System Memory
/0/2a/0 memory 4GiB SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
/0/2a/1 memory 4GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)