Quick question about hyper-threading

From: Timothy Miller (tmiller10@cfl.rr.com)
Date: Sat Apr 12 2003 - 22:13:57 EST


On a hyper-threaded CPU, it seems to me that there could be a lot of
cache-thrashing if the two processes running are completely unrelated. On
the other hand, if one process has two threads, then they would benefit (or
hurt less) from the cache-sharing, because they share the same memory space.
Does the HT-aware scheduler attempt to take this into account by scheduling
two related threads to run simultaneously on the same CPU as often as
possible (unless you're in a multi-processor system and another CPU would
otherwise be idle)?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:27 EST