-1

On my desktop

$ sudo lshw -short -C memory
H/W path              Device     Class       Description
========================================================
/0/0                             memory      64KiB BIOS
/0/27                            memory      16GiB System Memory
/0/27/0                          memory      [empty]
/0/27/1                          memory      8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/27/2                          memory      [empty]
/0/27/3                          memory      8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/29                            memory      768KiB L1 cache
/0/2a                            memory      4MiB L2 cache
/0/2b                            memory      16MiB L3 cache

shows RAM speed( 2133 MHz ), L2 cache size(4MiB) & L3 cache size(16MiB)

But the same command on AWS EC2 instance

$ sudo lshw -short -C memory
H/W path    Device  Class      Description
==========================================
/0/0                memory     96KiB BIOS
/0/1000             memory     4GiB System Memory
/0/1000/0           memory     4GiB DIMM RAM

and AWS lightsail instance

H/W path    Device  Class      Description
==========================================
/0/0                memory     96KiB BIOS
/0/1000             memory     8GiB System Memory
/0/1000/0           memory     8GiB DIMM RAM

do not show these values.

How is it possible to know these values on AWS EC2 and Lightsail instances?

  • What do you need it for? There are many factors that determine system performance, especially in a shared environment like this, RAM speed won’t tell you much about the overall system speed. – MLu Jan 5 at 20:56
0

What do you need it for?

If it’s to assess performance you won’t learn much from the memory speed. Better run some performance benchmark tool on both and compare the real numbers.

Making any conclusions from host HW specs in a virtual machine is pointless.

  • I want to find out the difference between the hardware used in EC2 instances and lightsail instances which could give a clue as to how lightsail instances are cheaper. – Siju George Jan 6 at 3:35
  • @SijuGeorge EC2 and Lightsail are for a different target market. I guess the Lightsail instances are for example more oversubscribed on the host than EC2, or have lower priority disk I/O, or slower network, or something like that. That’s not something you will find from your desired HW specs. Run a benchmark and do your performance-cost analysis based on the real performance numbers. – MLu Jan 6 at 3:41

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.