Bandan Das writes:
> "Michael S. Tsirkin" writes:
>
>> On Mon, Jul 13, 2015 at 12:07:32AM -0400, Bandan Das wrote:
>>> vhost threads are per-device, but in most cases a single thread
>>> is enough. This change creates a single thread that is used to
>
"Michael S. Tsirkin" writes:
> On Mon, Jul 13, 2015 at 12:07:32AM -0400, Bandan Das wrote:
>> vhost threads are per-device, but in most cases a single thread
>> is enough. This change creates a single thread that is used to
>> serve all guests.
>>
"Michael S. Tsirkin" writes:
> On Sat, Aug 08, 2015 at 07:06:38PM -0400, Bandan Das wrote:
>> Hi Michael,
...
>>
>> > - does the design address the issue of VM 1 being blocked
>> > (e.g. because it hits swap) and blocking VM 2?
>> Good question
Hi Michael,
"Michael S. Tsirkin" writes:
> On Mon, Jul 13, 2015 at 12:07:31AM -0400, Bandan Das wrote:
>> Hello,
>>
>> There have been discussions on improving the current vhost design. The first
>> attempt, to my knowledge was Shirley Ma's patch
licated, and there's a good chance that
it's impossible to migrate the vhost thread since it's serving other guests.
I will address this in v2.
> Eyal Moscovici
> HL-Cloud Infrastructure Solutions
> IBM Haifa Research Lab
>
>
>
> From: Bandan Das
> To: k.
Eyal Moscovici writes:
...
>
> We can start to implement polling, but I am unsure if the cgroups
> integration
> will be sufficient. The polling vhost thread should be scheduled all
> the time and just moving it from one cgroup to the other wont be
> sufficient.
> I think it needs a deeper int
lts.
Eyal, I think it makes sense to add polling on top of these patches and
get numbers for them too. Thoughts ?
Bandan
> Eyal Moscovici
> HL-Cloud Infrastructure Solutions
> IBM Haifa Research Lab
>
>
>
> From: Bandan Das
> To: k...@vger.kernel.org
> Cc: ne
d the devs_per_worker threshold
Signed-off-by: Bandan Das
---
drivers/vhost/vhost.c | 47 +++
1 file changed, 39 insertions(+), 8 deletions(-)
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 6a5d4c0..dc0fa37 100644
--- a/drivers/vhost/vh
workers.
Signed-off-by: Bandan Das
---
include/linux/cgroup.h | 1 +
kernel/cgroup.c| 40
2 files changed, 41 insertions(+)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index b9cb94c..606fb5b 100644
--- a/include/linux/cgroup.h
+++ b
ion mechanism to work with the new model. Ccing cgroups
for input/comments.
Many thanks to Razya Ladelsky and Eyal Moscovici, IBM for the initial
patches, the helpful testing suggestions and discussions.
Bandan Das (4):
vhost: Introduce a universal thread to serve all users
vhost: Limit the
roups work. We still
keep moving around the worker thread to the cgroups of the
device we are serving at the moment.
Signed-off-by: Razya Ladelsky
Signed-off-by: Bandan Das
---
drivers/vhost/net.c | 6 +--
drivers/vhost/scsi.c | 3 +-
drivers/vhost/vhost.c
Signed-off-by: Bandan Das
---
drivers/vhost/scsi.c | 15 +++--
drivers/vhost/vhost.c | 150 --
drivers/vhost/vhost.h | 19 +--
3 files changed, 97 insertions(+), 87 deletions(-)
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
index
12 matches
Mail list logo