RAM disk speed test result

Memory Slots:

  ECC:	Disabled
  Upgradeable Memory:	No

BANK 0/ChannelA-DIMM0:

  Size:	32 GB
  Type:	DDR4
  Speed:	2667 MHz
  Status:	OK
  Manufacturer:	Micron
  Part Number:	-
  Serial Number:	-

BANK 2/ChannelB-DIMM0:

  Size:	32 GB
  Type:	DDR4
  Speed:	2667 MHz
  Status:	OK
  Manufacturer:	Micron
  Part Number:	-
  Serial Number:	-

$ diskutil erasevolume HFS+ 'RAM_Disk' `hdiutil attach -nobrowse -nomount ram://67108864`
Started erase on disk4
Unmounting disk
Erasing
Initialized /dev/rdisk4 as a 32 GB case-insensitive HFS Plus volume
Mounting disk
Finished erase on disk4 (RAM_Disk)

$ dd if=/dev/random of=/Volumes/RAM_Disk/tmp.data bs=1024k count=16384
16384+0 records in
16384+0 records out
17179869184 bytes transferred in 54.670080 secs (314246279 bytes/sec)

$ dd if=/Volumes/RAM_Disk/tmp.data of=/dev/null bs=1024k
16384+0 records in
16384+0 records out
17179869184 bytes transferred in 5.130549 secs (3348544052 bytes/sec)

$ hdiutil detach /dev/disk4
"disk4" ejected.

Read speed: 3.1185 Gigabyte per second
Write speed: 299.6886 Megabyte per second

#dd

#ddr4, #ram-disk