Lines Matching refs:process
6 Multi-process Sample Application
16 The multi-process example applications are built in the same way as other sample applications,
26 If just a specific multi-process application needs to be built,
28 rather than at the top-level multi-process directory.
30 Basic Multi-process Example
46 For the first DPDK process run, the proc-type flag can be omitted or set to auto,
49 The process should start successfully and display a command prompt as follows:
75 To run the secondary process to communicate with the primary process,
82 When running a secondary process such as that shown above, the proc-type parameter can again be spe…
83 …ng the parameter altogether will cause the process to try and start as a primary rather than secon…
85 Once the process type is specified correctly,
86 the process starts up, displaying largely similar status messages to the primary instance as it ini…
90 At any stage, either process can be terminated using the quit command.
105 invalidating the secondary process's pointers.
106 The secondary process can be stopped and restarted without affecting the primary process.
112 These three objects are created at startup by the primary process,
113 since the secondary process cannot create objects in memory as it cannot reserve memory zones,
114 and the secondary process then uses lookup functions to attach to these objects as it starts up.
128 …med ring structure used as send_ring in the primary process is the recv_ring in the secondary proc…
138 Symmetric Multi-process Example
141 The second example of DPDK multi-process support demonstrates how a set of processes can run in par…
142 with each process performing the same set of packet- processing operations.
143 (Since each process is identical in functionality to the others,
153 Example Data Flow in a Symmetric Multi-process Application
156 As the diagram shows, each process reads packets from each of the network ports in use.
158 Each process reads a different RX queue on each port and so does not contend with any other process…
159 Similarly, each process writes outgoing packets to a different TX queue on each port.
164 As with the simple_mp example, the first instance of the symmetric_mp process must be run as the pr…
175 …This identifies which symmetric_mp instance is being run, so that each process can read a unique r…
193 …In the above example, the process type can be explicitly specified as primary or secondary, rather…
194 …When using auto, the first process run creates all the memory structures needed for all processes -
199 For the symmetric multi-process example, since all processes work in the same manner,
202 Instead, that process can be restarted as a secondary,
212 Thereafter, the initialization done depends on whether the process is configured as a primary or se…
217 therefore will be accessible by the secondary process as it initializes.
230 … than initializing the network ports, the port information exported by the primary process is used,
231 giving the secondary process access to the hardware and software rings for each network port.
238 Once this initialization is complete, the main loop of each process, both primary and secondary,
239 is exactly the same - each process reads from each port using the queue corresponding to its proc-i…
242 Client-Server Multi-process Example
245 The third example multi-process application included with the DPDK shows how one can
246 use a client-server type multi-process design to do packet processing.
247 In this example, a single server process performs the packet reception from the ports being used and
258 Example Data Flow in a Client-Server Symmetric Multi-process Application
264 The server process must be run initially as the primary process to set up all memory structures for…
270 …re the num-clients parameter is the number of client processes that will process the packets recei…
275 …In the server process, a single thread, the main thread, that is, the lowest numbered lcore in the…
280 the only application parameter needed by a client process is its client instance ID.
293 as there is no support in the server application for it to run as a secondary process.
294 Any client processes that need restarting can be restarted without affecting the server process.
299 The server process performs the network port and data structure initialization much as the symmetri…
300 One additional enhancement in this sample application is that the server process stores its port co…
302 as is done for the symmetric multi-process application, and therefore eliminates mismatched paramet…
304 In the same way that the server process is designed to be run as a primary process instance only,
309 which will, as in the symmetric multi-process example,
310 …et access to the network ports using the settings already configured by the primary/server process.
313 distributing those packets to the client queues (software rings, one for each client process) in ro…
317 …ng the packets directly to the network ports; they are not transferred back via the server process.
321 For example, the client process will buffer packets to send,