Changes between Version 10 and Version 11 of PTVS_Impl


Ignore:
Timestamp:
Jan 14, 2010, 10:15:30 AM (14 years ago)
Author:
sinziana.mazilu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PTVS_Impl

    v10 v11  
    3636== Final implementation ==
    3737
     38'''Intersection based idea'''
     39
    3840We chose to implement the best idea from those 3: a work-pool for each intersection.
    3941
     
    5557
    5658'''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 to limit the number of threads for all intersections (7 processors), the 8th one being assigned for GPS and Clear Events.
     59we decided to limit the number of threads for all intersections (7 processors), the 8th one being assigned for GPS and Clear Events.
    5860Each event will be computed by the 'NoIntersection % 7' thread.
     61
     62
     63'''Roads based idea'''
     64
     65Making the framework and implementing the intersection based idea, it was easy for us to implement the road based idea.
     66The 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
     68Again, 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.
     69Each event will be computed by the 'NoRoad % 7' thread.