Re: [Qemu-devel] [RFC] Buffers/caches in VirtIO Balloon driver stats

2017-09-14 Thread Wei Wang

On 09/12/2017 10:29 PM, Tomáš Golembiovský wrote:

On Tue, 29 Aug 2017 20:01:53 +0800
Wei Wang  wrote:


On 08/29/2017 05:57 PM, Stefan Hajnoczi wrote:

On Sun, Aug 27, 2017 at 11:30:33PM +0200, Tomáš Golembiovský wrote:

Hi,

I have CCed the relevant mailing lists and people most recently involved
in virtio-balloon discussions.  Hopefully this will help get the right
people to see your questions.
  

We'd like to include information about reclaimable memory into the
statistics in VirtiO Balloon driver. Namely, we'd like to include
counters for bufferes and caches of Linux kernel. The patch itself is
pretty trivial -- no problem there. But before we do that I'd like to
get some input from the QEMU community.

1) Is there any reason not to have the stats there?

Could you please share the usages of reclaimable memory via the stats?

I'll go ahead then and start sending patches. What would be the proper
course of action here? Send patch for the driver first, or send patch
for QEMU first or send both patches right away?


If you have both ready, I think it would be fine to send them all.






2) Considering the balloon device is multiplatform (Linux, BSD,
Windows), is there a problem with including buffers/caches? These seem
to be specific to the Linux virtual memory subsystem. Of course, other
OSes could just report zeros. Are there some internal stats on those
OSes that could be filled in? I don't now if such or similar statistic
are available on BSD. On Windows only SystemCache stat looks like
something relevant. Anyone familiar with those OSes has any suggestions?

   

One of the solutions that I'm thinking about is to make virtio
platform-ware.

This is not necessary. IIUC the driver does not need to send all the
stats. We can simply treat those stats as specific to Linux driver and
other drivers will not send them. Then QEMU will treat them as if zero
was reported.


Just had a quick check, I think that should function well too.
QEMU will report -1 for the stats.

Best,
Wei
___
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Call for papers - MOSITS'17 - Moscow, Russia ------ Deadline: October 2

2017-09-14 Thread Mariana
*** Proceedings published by Springer and indexed by ISI, Scopus, EI-Compendex, 
DBLP, etc.

---
MOSITS’17 – The 2017 International Conference on Information Technology Science
 Moscow, Russia, 01 – 03 December 2017
https://www.mosits.org/
-

SCOPE

MOSITS’17 – The 2017 International Conference on Information Technology Science 
(https://www.mosits.org/), to be held at Moscow, Russia, 01 – 03 December 2017, 
is an international forum for researchers and practitioners to present and 
discuss the most recent innovations, trends, results, experiences and concerns 
in the several perspectives of Information Technology Science.

We are pleased to invite you to submit your papers to MOSITS'17. Papers must be 
written in English and related with one or more of the Conference Topics (see 
below). All submissions will be twice «blind» reviewed on the basis of 
relevance, timeliness, originality, importance and clarity of expression with 
convincing argumentative.

Accepted and registered Papers will be published in Proceedings by Springer in 
a book of the AISC series and then indexed by Web of Science, Scopus.
You can see more details on https://www. mosits.org.


TOPICS

Submitted papers should be related with one or more of the main themes proposed 
for the Conference:
1. Information Technology in Natural Science
•   Information Technology in Agriculture & Food Technology
•   Information Technology in Biochemistry
•   Information Technology in Biology
•   Information Technology in Biomedical Sciences
•   Information Technology in Chemistry
•   Information Technology in Computer Sciences
•   Information Technology in Electronics
•   Information Technology in Engineering
•   Information Technology in Genetics
•   Information Technology in Mathematics
•   Information Technology in Microbiology
•   Information Technology in Medicine
•   Information Technology in Nuclear Science
•   Information Technology in Pharmacology
•   Information Technology in Physics
•   Information Technology in Technology & AppliedScience
•   Information Technology in Zoology
2. Information Technology in Social Science
•   Information Technology in Business & Finance
•   Information Technology in Communication
•   Information Technology in Criminology & Penology
•   Information Technology in Demography
•   Information Technology in Economics
•   Information Technology in Education
•   Information Technology in Law
•   Information Technology in Management Science
•   Information Technology in Health & Rehabilitation
•   Information Technology in Public Administration
3. Information Technology in Art
•   Information Technology in Archaeology
•   Information Technology in Architecture
•   Information Technology in Art
•   Information Technology in Film
•   Information Technology in History
•   Information Technology in Humanities
•   Information Technology in Linguistic
•   Information Technology in Literature
•   Information Technology in Religion
•   Information Technology in Television & Radio
•   Information Technology in Theater


SUBMISSION AND DECISION

You may submit your paper online using address 
https://www.mosits.org/submission/. Submitted papers should be related with one 
or more of the Conference topics: Information Technology in Natural Science, 
Social Science, and Art
In addition, submitted papers (until 8-page limit) must comply with the 
requested format (download a DOC example) be written in English, must not have 
been published before, not be under review for any other conference or 
publication and not include any information leading to the authors’ 
identification.

All papers will be subjected to a “double-blind review” by at least two 
Scientific Committee members. The «blind» review means that the authors’ names, 
affiliations and bibliographic references should not be included in the version 
for evaluation by the Scientific Committee. This information should only be 
included in the camera-ready version, saved in Word and/or in PDF format. Based 
on Scientific Committee evaluation, a paper can be rejected or accepted by the 
Conference Chairs.

Each accepted paper might be presented in the appropriate thematic session of 
narrow specialization.


PUBLICATION AND INDEXING

To ensure that an accepted paper will be published, at least one of the authors 
must be fully registered by the 10th of October 2017, and the paper must comply 
with the suggested layout and page-limit (until 10 pages). Additionally, all 
recommended changes must be addressed by the authors before they submit the 
camera-ready version.

No more than one paper 

RE: packed ring layout proposal v3

2017-09-14 Thread Ilya Lesokhin
> -Original Message-
> From: virtualization-boun...@lists.linux-foundation.org
> [mailto:virtualization-boun...@lists.linux-foundation.org] On Behalf Of
> Michael S. Tsirkin
> Sent: Sunday, September 10, 2017 8:06 AM
> To: virtio-...@lists.oasis-open.org
> Cc: virtualization@lists.linux-foundation.org
> Subject: packed ring layout proposal v3
> 
> This is an update from v2 version.
...
> When driver descriptors are chained in this way, multiple descriptors are
> treated as a part of a single transaction containing an optional write buffer
> followed by an optional read buffer.
> All descriptors in the chain must have the same ID.
> 
...

I think you should consider removing  the "same ID" requirement.

Assuming out of order execution, how is the driver supposed to re-assign unique 
IDs to the previously
chained descriptor?
Do you expected driver to copy original IDs somewhere else before the chaining 
and then restore them after the chain is
executed?

Thanks,
Ilya


___
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization