migration: Increase default max_downtime from 30ms to 300ms
PATCH 1/1 migration: Increase default max_downtime from 30ms to 300ms
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
This changes max_downtime to 300ms which seems to be more reasonable value.
--- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
migration.c +1 -1
@@ -144,7 +144,7 @@ void process_incoming_migration(QEMUFile *f)* the choice of nanoseconds is because it is the maximum resolution that * get_clock() can achieve. It is an internal measure. All user-visible * units must be in seconds */ -static uint64_t max_downtime =30000000 ; +static uint64_t max_downtime =300000000 ;uint64_t migrate_max_downtime (void ) {
Signature · 1 line
1.8.4.rc4
Adding Juan.
Quoted 28 lines · Alexey Kardashevskiy
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
This changes
max_downtimeto 300ms which seems to be more reasonable value.Signed-off-by Alexey Kardashevskiy <[email protected]>--- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)migration.c +1
-1@@ -144,7 +144,7 @@ void process_incoming_migration(QEMUFile *f)* the choice of nanoseconds is because it is the maximum resolution that * get_clock() can achieve. It is an internal measure. All user-visible * units must be in seconds */ -static uint64_t max_downtime =30000000 ; +static uint64_t max_downtime =300000000 ;uint64_t migrate_max_downtime (void ) {
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Alexey Kardashevskiy
Quoted 5 lines · Alexey Kardashevskiy
Quoted 1 line · Markus Armbruster
Adding Juan.
Ping?
Ping?
Ping?
Quoted 36 lines
Quoted 34 lines
Quoted 32 lines
Quoted 28 lines · Alexey Kardashevskiy
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
This changes
max_downtimeto 300ms which seems to be more reasonable value.Signed-off-by Alexey Kardashevskiy <[email protected]>--- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)migration.c +1
-1@@ -144,7 +144,7 @@ void process_incoming_migration(QEMUFile *f)* the choice of nanoseconds is because it is the maximum resolution that * get_clock() can achieve. It is an internal measure. All user-visible * units must be in seconds */ -static uint64_t max_downtime =30000000 ; +static uint64_t max_downtime =300000000 ;uint64_t migrate_max_downtime (void ) {
Signature · 1 line
Alexey
Quoted 6 lines · Alexey Kardashevskiy
Quoted 5 lines · Alexey Kardashevskiy
Quoted 1 line · Markus Armbruster
Adding Juan.
Ping?
Patch is OK for me.
As sender says, with guests doing anything/bigger than 1GB RAM is basically implosible to get into the 30ms downtime.
Later, Juan.
Quoted 39 lines
Ping?
Quoted 34 lines
Quoted 32 lines
Quoted 28 lines · Alexey Kardashevskiy
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
This changes
max_downtimeto 300ms which seems to be more reasonable value.Signed-off-by Alexey Kardashevskiy <[email protected]>--- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)migration.c +1
-1@@ -144,7 +144,7 @@ void process_incoming_migration(QEMUFile *f)* the choice of nanoseconds is because it is the maximum resolution that * get_clock() can achieve. It is an internal measure. All user-visible * units must be in seconds */ -static uint64_t max_downtime =30000000 ; +static uint64_t max_downtime =300000000 ;uint64_t migrate_max_downtime (void ) {
Quoted 9 lines · Juan Quintela
Quoted 6 lines · Alexey Kardashevskiy
Quoted 5 lines · Alexey Kardashevskiy
Quoted 1 line · Markus Armbruster
Adding Juan.
Ping?
Patch is OK for me.
Who else needs to be ok to get this in upstream? :) Thanks!
Quoted 44 lines
As sender says, with guests doing anything/bigger than 1GB RAM is basically implosible to get into the 30ms downtime.
Later, Juan.
Quoted 39 lines
Ping?
Quoted 34 lines
Quoted 32 lines
Quoted 28 lines · Alexey Kardashevskiy
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
This changes
max_downtimeto 300ms which seems to be more reasonable value.Signed-off-by Alexey Kardashevskiy <[email protected]>--- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)migration.c +1
-1@@ -144,7 +144,7 @@ void process_incoming_migration(QEMUFile *f)* the choice of nanoseconds is because it is the maximum resolution that * get_clock() can achieve. It is an internal measure. All user-visible * units must be in seconds */ -static uint64_t max_downtime =30000000 ; +static uint64_t max_downtime =300000000 ;uint64_t migrate_max_downtime (void ) {
Signature · 1 line
Alexey
Quoted 7 lines · Alexey Kardashevskiy
Quoted 6 lines · Juan Quintela
Quoted 5 lines · Alexey Kardashevskiy
Quoted 4 lines · Alexey Kardashevskiy
Quoted 1 line · Markus Armbruster
Adding Juan.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Ping?
Patch is OK for me.
Who else needs to be ok to get this in upstream? :) Thanks!
Peter?
David?
Paolo? (I think to remember that they are ok with it)
Thanks, Juan.
Il 04/06/2014 12:25, Juan Quintela ha scritto:
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Who else needs to be ok to get this in upstream? :) Thanks!
Peter?
David?
Paolo? (I think to remember that they are ok with it)
Certainly okay by me.
Paolo
Quoted 11 lines · Alexey Kardashevskiy
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
This changes
max_downtimeto 300ms which seems to be more reasonable value.Signed-off-by Alexey Kardashevskiy <[email protected]>
Amit
Quoted 8 lines · Amit Shah
Quoted 7 lines · Alexey Kardashevskiy
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
Quoted 6 lines
Quoted 4 lines
This changes
max_downtimeto 300ms which seems to be more reasonable value.Signed-off-by Alexey Kardashevskiy <[email protected]>Reviewed-by Amit Shah <[email protected]>
Cool, thanks!
But what is next? The patch is > 2 months old and it is simple and everything but it did not make it to any tree so far :)
Signature · 1 line
Alexey
Quoted 12 lines · Alexey Kardashevskiy
Quoted 11 lines · Amit Shah
Quoted 10 lines · Alexey Kardashevskiy
The existing timeout is 30ms which on 100MB/s (1Gbit) gives us 3MB/s rate maximum. If we put some load on the guest, it is easy to get page dirtying rate too big so live migration will never complete. In the case of libvirt that means that the guest will be stopped anyway after a timeout specified in the "virsh migrate" command and this normally generates even bigger delay.
This changes
max_downtimeto 300ms which seems to be more reasonable value.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Alexey Kardashevskiy <[email protected]>Reviewed-by Amit Shah <[email protected]>Cool, thanks!
But what is next? The patch is > 2 months old and it is simple and everything but it did not make it to any tree so far :)
I'll pester Juan to get it in :-)
Amit