[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] additional domain.c memory allocation causes "xm create" to fail
For what purpose? There was once a bug which caused this to happen and I'm working on an experiment to do with cache-based side channels in Cloud environments. Part of it involves measuring the effect of flushing the cache every time there is a VM switch.
You don't check the return value, so what happens when the allocation Unfortunately, I can chalk that up to my inexperience with C programming. Thanks for pointing that out. As for the sensibility of the plan, it is still in rather early stages and not as robust as I would like it. As I get more working I was planning on leaving the memory buffer permanently allocated so as not to spend time managing it in a critical section. If you have a suggestion for a more practical solution I'm all ears.
Furthermore, this algorithm has no guarantee to clear the L2 cache. In This is the code that has worked in all of my prior experiments and has been ratified by others I have worked with. Are you sure it wouldn't work? While, for simplicity's sake, I have removed portions of the code designed to prevent pre-fetching and perhaps left out something important, my understanding of cache-coloring, however, would still imply that the data in the cache should be dirty, or flushed after this loop terminates.
Perhaps I have misused the term "flush". My objective is to make each cache line dirty, or flush it to main memory. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |