LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 05-29-2008, 01:52 AM   #1
arsenal
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
RAM speed


Is there any command in linux which gives the ram speed of the sys
 
Old 05-29-2008, 02:46 AM   #2
hro
LQ Newbie
 
Registered: Jan 2008
Distribution: OpenSuse 10.3, SLED 10 SP2, Ubuntu 8.04 and 9.04
Posts: 23

Rep: Reputation: 15
To get memory speed you can try 'hwinfo --vbe' as root . It gives a lot of output, just locate sections 'Memory Device'
Code:
~ # hwinfo --vbe   
....
  Memory Device: #31
    Location: "DIMM0"
    Bank: "BANK0"
    Manufacturer: "Manufacturer0"
    Serial: "SerNum0"
    Asset Tag: "AssetTagNum0"
    Part Number: "PartNum0"
    Memory Array: #29
    Form Factor: 0x09 (DIMM)
    Type: 0x12 (DDR)
    Type Detail: 0x0080 (Synchronous)
    Data Width: 72 bits
    Size: 512 MB
    Speed: 333 MHz
...
I do not know how to relate this to memory bandwidth, but for my system Xorg.0.log shows

Code:
(--) SIS(0): Memory bandwidth at 32 bpp is 365.108 MHz
...
(--) SIS(0):    Checked libc memcpy()...        495.0 MiB/s
(--) SIS(0):    Checked MMX2 memcpy()...        555.2 MiB/s
 
Old 05-29-2008, 03:56 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,360

Rep: Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909Reputation: 1909
You can try also decode-dimms.pl, a perl script coming with lm_sensors. You have to load the eeprom module, which populates /sys/bus/i2c/drivers/eeprom. The decode-dimms.pl script simply decodes the information stored here in a human readable form. For example:
Code:
# modprobe eeprom
# decode-dimms.pl
Memory Serial Presence Detect Decoder
By Philip Edelbrock, Christian Zuckschwerdt, Burkart Lingner,
Jean Delvare and others
Version 2.10.2


Decoding EEPROM: /sys/bus/i2c/drivers/eeprom/0-0050
Guessing DIMM is in                             bank 1

---=== SPD EEPROM Information ===---
EEPROM Checksum of bytes 0-62                   OK (0x4C)
# of bytes written to SDRAM EEPROM              128
Total number of bytes in EEPROM                 256
Fundamental Memory type                         DDR SDRAM
SPD Revision                                    0.0

---=== Memory Characteristics ===---
Maximum module speed                            333MHz (PC2700)
Size                                            512 MB
tCL-tRCD-tRP-tRAS                               2.5-3-3-7
Supported CAS Latencies                         2.5, 2
Supported CS Latencies                          0
Supported WE Latencies                          1
Minimum Cycle Time (CAS 2.5)                    6 ns
Maximum Access Time (CAS 2.5)                   0.7 ns
Minimum Cycle Time (CAS 2)                      7.5 ns
Maximum Access Time (CAS 2)                     0.7 ns

---=== Manufacturing Information ===---
Manufacturer                                    Kingston
Manufacturing Location Code                     0x04
Part Number                                     K
Manufacturing Date                              0x030E
Assembly Serial Number                          0x00077A01


Decoding EEPROM: /sys/bus/i2c/drivers/eeprom/0-0051
Guessing DIMM is in                             bank 2

---=== SPD EEPROM Information ===---
EEPROM Checksum of bytes 0-62                   OK (0x4C)
# of bytes written to SDRAM EEPROM              128
Total number of bytes in EEPROM                 256
Fundamental Memory type                         DDR SDRAM
SPD Revision                                    0.0

---=== Memory Characteristics ===---
Maximum module speed                            333MHz (PC2700)
Size                                            512 MB
tCL-tRCD-tRP-tRAS                               2.5-3-3-7
Supported CAS Latencies                         2.5, 2
Supported CS Latencies                          0
Supported WE Latencies                          1
Minimum Cycle Time (CAS 2.5)                    6 ns
Maximum Access Time (CAS 2.5)                   0.7 ns
Minimum Cycle Time (CAS 2)                      7.5 ns
Maximum Access Time (CAS 2)                     0.7 ns

---=== Manufacturing Information ===---
Manufacturer                                    Kingston
Manufacturing Location Code                     0x04
Part Number                                     K
Manufacturing Date                              0x030E
Assembly Serial Number                          0x00077101


Number of SDRAM DIMMs detected and decoded: 2
 
Old 05-29-2008, 04:32 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
can also try
Code:
lshw
it'll give you something like:
Code:
     *-memory
          description: System Memory
          physical id: a
          slot: System board or motherboard
          size: 1GiB
        *-bank:0
             description: SODIMM DDR 133 MHz (7.5 ns)
             product: N/A
             vendor: N/A
             physical id: 0
             serial: N/A
             slot: SODIMM1
             size: 512MiB
             width: 32 bits
             clock: 133MHz (7.5ns)
        *-bank:1
             description: SODIMM DDR 133 MHz (7.5 ns)
             product: N/A
             vendor: N/A
             physical id: 1
             serial: N/A
             slot: SODIMM2
             size: 512MiB
             width: 32 bits
             clock: 133MHz (7.5ns)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining RAM speed smithtodda Linux - Hardware 8 03-22-2014 02:45 PM
want to add RAM...what speed? sneakyimp Linux - Hardware 5 12-20-2006 01:22 PM
speed versus quantity with ram arun3 Linux - Hardware 5 01-10-2005 06:50 PM
how to find the bus speed of my RAM rmanocha Linux - General 6 01-16-2004 10:55 PM
Question on CPU speed vs RAM satimis Linux - Hardware 8 01-08-2004 02:05 PM


All times are GMT -5. The time now is 11:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration