Answer the question
In order to leave comments, you need to log in
Xen, Flashcache, Windows Guest performance issue?
So there is Dom0 Debian
uname -a
Linux 2.6.32-5-xen-amd64 #1 SMP Mon Jan 21 05:36:35 UTC 2013 x86_64 GNU/Linux
Answer the question
In order to leave comments, you need to log in
If anyone is interested, I found the solution myself.
LVM volumes were made for my virtual machines, and since Windows writes 512 bytes of the sector, and the specifics of the database are such that there are a lot of small transactions, I got a wild stream of small records of 512 bytes, which even flashcache did not cache, since they are not a multiple of 4K
Now I overtook the partitions to the files
dd if=/dev/lv/laylay of=/home/laylay.img
and replaced the machine's xen config from phy to file
flashcache with its writeback set to the partition that is mounted in / home
It turns out that the guest Windows is now changes 512 bytes in the file, Dom0 in these cases changes the whole 4k cluster, and it would get worse, but since flashcache writeback is now working, it has become much better.
Actually, the question is how to make Flashcache cache blocks of 512 bytes of them most of all, and if at least they get into the cache, this will help us a lot.Check. maybe the ntfs system partition is not formatted with a sector size of 512? through backup-format-restore make the sector size in 4k forcibly.
An alternative solution to the problem is how to force the guest Windows to operate exclusively with 4K blocks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question