Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

Linuxで載ってるメモリ(DDR)の種類を調べるコマンド

More than 3 years have passed since last update.

よく忘れるのでメモ。

$ sudo dmidecode --type memory
Handle 0x0011, DMI type 17, 34 bytes
Memory Device
        Array Handle: 0x0010
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM1
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous
        Speed: 1600 MHz
        Manufacturer: 1311
        Serial Number: 12202868
        Asset Tag: 9876543210
        Part Number: M2X8G64CB8HD9N-DG
        Rank: 2
        Configured Clock Speed: 1600 MHz

Handle 0x0013, DMI type 17, 34 bytes
Memory Device
        Array Handle: 0x0010
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM2
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous
        Speed: 1600 MHz
        Manufacturer: 1311
        Serial Number: 12162869
        Asset Tag: 9876543210
        Part Number: M2X8G64CB8HD9N-DG
        Rank: 2
        Configured Clock Speed: 1600 MHz

というのがある。
重要なのが

  • Type: DDR2とかDDR3とかの種類
  • Size: 1枚の容量。4096[MB]とか、8192[MB]とか。
  • Speed: 1600[MHz]とか。メモリクロックじゃなくて、チップの種類の方。

あたり。

この情報からチップの種類がわかる(DDR3-1600とか)ので、それとenwpの情報を照らし合わせると理論性能がわかります。

また、別のコマンドとして

$ sudo lshw -class memory
  *-memory
       description: System Memory
       physical id: 10
       slot: System board or motherboard
       size: 16GiB
     *-bank:0
          description: DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
          product: M2X8G64CB8HD9N-DG
          vendor: Conexant (Rockwell)
          physical id: 0
          serial: 12202868
          slot: DIMM1
          size: 8GiB
          width: 64 bits
          clock: 1600MHz (0.6ns)
     *-bank:1
          description: DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
          product: M2X8G64CB8HD9N-DG
          vendor: Conexant (Rockwell)
          physical id: 1
          serial: 12162869
          slot: DIMM2
          size: 8GiB
          width: 64 bits
          clock: 1600MHz (0.6ns)

というのもあり、こっちの方が見やすいかもしれません。

aokomoriuta
土木工学の水理学・計算力学な人で、主にソフトウェアの高速化をやっています。
https://aokomoriuta.bitbucket.io/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away