The memory used by QXL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. 

In file server/red_worker.c, there is a function which named `void handle_dev_oom(void *opaque, void *payload)` is called when there is not adequate memory for QXL driver. And then release some resource.

My question is that there is a routine that the server can get the usage of the SHARE memory, which QXL driver used and also spice.

I've tried that counting image data size when call `red_get_drawable`(the function is in the file server/red_worker.c), well, all types of images will finally call `red_get_image(...)` (file server/red_parse_qxl.c) to get the data. And then when call `handle_dev_oom` to print the total data size used since last call. But the answer is that sometimes call it only 60+MB, but sometimes is 170+MB, and I set the QXL memory size is 128MB by command line argument `qxl-vga.vram_size=128M`
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]