电子州妓女学 Software Architecture Design Pattern University af Electronic Science and Technoloryf Chim Solaris Two-level Threading Structure Traditional process Proc 1 Proc 2 Proc 3 User Kernel =Thread =LWP =Processor Software Architecture and Design Pattern 11
Software Architecture & Design Pattern Software Architecture and Design Pattern 11 Solaris Two-level Threading Structure
电子科技女学 Software Architecture Design Pattern University af Electronic Science and Technoloryf Chim One-to-One Model Java Application one user thread is mapped to one kernel thread high concurrency User may overload the kernel Native Kernel =Thread O=LWP Software Architecture and Design Pattern 12
Software Architecture & Design Pattern Software Architecture and Design Pattern 12 One-to-One Model - one user thread is mapped to one kernel thread - high concurrency - may overload the kernel
电子科技女学 Software Architecture Design Pattern University af Electronic Science and Technoloryf Chim Many-to-One Model Java Application many user threads are mapped to one kernel thread low throughput not quite used now User User Space Native Kernel Space Schedulable entity (e.g. Kernel "LWP") 艾=Thread O=LWP Software Architecture and Design Pattern 13
Software Architecture & Design Pattern Software Architecture and Design Pattern 13 Many-to-One Model - many user threads are mapped to one kernel thread - low throughput - not quite used now