| 83 | |
| 84 | After couple of brainstorming sessions with our teachers, we decided that the better choice to parallelize the VNSim |
| 85 | simulator (the present source code), is to make more parallel computing queues (each queue contains events with messages |
| 86 | and data to be computed). Now, VNSim has a single queue with events, running on a single thread (events are sequentially |
| 87 | computed). Using more event queues, we want to assign on every queue a running thread. |
| 88 | This is a very good idea to parallelize, but we have some issues with that: |
| 89 | 1. we don't have an infinite number of processors (the limit is 8) |
| 90 | 2. how we divide the events per queue (must find some rules) |
| 91 | However, there is one more solution, a simple one - to make only other two queues, and to take only the receive and send |
| 92 | events and put into special queues. So, we will have three parallel threads: the principal (for gps and other kind of |
| 93 | events), for receive events and for send events. |
| 94 | |