SimpleSSD / SimpleSSD-FullSystem

Open-Source Licensed Educational SSD Simulator for High-Performance Storage and Full-System Evaluations
BSD 3-Clause "New" or "Revised" License
88 stars 46 forks source link

page swap support? #22

Closed sac2019 closed 3 years ago

sac2019 commented 3 years ago

hi,

I wonder if this full system simulator support the page swap and virtual memory or not? is there any information in output file related to them? for example the number of page fault or number or page swap memory?

sac2019 commented 3 years ago

Hi,

I try to run a simple program which generating page fault (major fault) but nothing (read/write request) send to the storage part!

kukdh1 commented 3 years ago

Hi,

I didn't tried the swap partition, please ask gem5 community for the support.

Or, you can try with following step:

  1. Create disk image (see here)
  2. Create partition table and swap partition
  3. Boot with IDE disk.
  4. Configure swap partition with swapon command. (If command not exists, build it manually)
  5. Check that page swapping occurs.

Thanks.