* Any way to promote secondary process to primary process
@ 2022-10-08 14:48 Cheng Li
0 siblings, 0 replies; only message in thread
From: Cheng Li @ 2022-10-08 14:48 UTC (permalink / raw)
To: dev
Hello, I would like to kill the primary process and then promote the
seconary process to primary. After checking the apis in dpdk source
code, I think dpdk doesn't provide the promote interface. Any one knows
why we don't have this interface? No usage scenario? or it's impossible
to implement?
Bellow is my scenario:
I would like to upgrade my application(openvswitch). Because the
hugepage initialization and dev probe is expensive, the application down
time is very long(could be more than 10 seconds). So I would like to
launch the new application(upgrade version) as secondary process, while
keep the old application still running. New application shares memory
from old application, so it can use the hugepage and already probed
devices. Imediately old process is killed, new application starts
forward packets. After old process(primary process) is killed, we would
like to promote the new process from secondary to primary.
Thanks,
Cheng
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-08 14:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-08 14:48 Any way to promote secondary process to primary process Cheng Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).