Cache Allocation and Virtual Memory

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
Phan7
Posts: 15
Joined: Sat Apr 28, 2012 4:29 pm

Wed May 09, 2012 2:06 pm

Will starwind use virtual memory for cache when it runs out of conventional memory?

e.g. 3 targets using 2 GB cache on a machine with only 3 GB RAM.

I have seen it allocate 2GB for the first target but not for the other 2 targets... even though virtual memory should make this possible?

Might sound a bit of a stupid question, but I was expecting to see the pagefile get used, I'm unable to fully test this at present due to a shortage of resources!
User avatar
anton (staff)
Site Admin
Posts: 4021
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Thu May 10, 2012 8:38 am

It's an extremely bad idea to allocate cache from paged pool. We pin cache in non-paged pool and keep memory management in kernel mode.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Post Reply