Changes between Version 10 and Version 11 of PTVS_Impl
- Timestamp:
- Jan 14, 2010, 10:15:30 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PTVS_Impl
v10 v11 36 36 == Final implementation == 37 37 38 '''Intersection based idea''' 39 38 40 We chose to implement the best idea from those 3: a work-pool for each intersection. 39 41 … … 55 57 56 58 '''Notice:''' Because of testing issues (we won't have as mush processors as intersections on a simulation machine), and because fep has 8 processors, 57 we decided to tolimit the number of threads for all intersections (7 processors), the 8th one being assigned for GPS and Clear Events.59 we decided to limit the number of threads for all intersections (7 processors), the 8th one being assigned for GPS and Clear Events. 58 60 Each event will be computed by the 'NoIntersection % 7' thread. 61 62 63 '''Roads based idea''' 64 65 Making the framework and implementing the intersection based idea, it was easy for us to implement the road based idea. 66 The only changes were that the number of threads are as many as the number of roads, and the event will be assigned to the thread of the road. 67 68 Again, we had the same problem (only 8 processors). The solution was the same: to limit the number of threads for all roads (7 processors), the 8th one being assigned for GPS and Clear Events. 69 Each event will be computed by the 'NoRoad % 7' thread.