Hi Jean. Yes, the page size thing again ... I have another hint. I just contacted you. Please follow my instructions and perform the tests again. This should improve the results.
tnx %mab >> On Niagara 1/2 machines the shadow rendering of even one diagonal line >> causes incredible MMU turmoil because there are not enough MMU entries >> for all memory lines being touched. >> >> You could try to enforce the use of 64k MMU pages instead of 8k MMU >> pages at the beginning of Xorg: >> ? ? ? ? struct memcntl_mha mha; >> ? ? ? ? mha.mha_cmd = MHA_MAPSIZE_BSSBRK; >> ? ? ? ? mha.mha_flags = 0; >> ? ? ? ? mha.mha_pagesize = 64 * 1024; >> ? ? ? ? (void)memcntl(NULL, 0, MC_HAT_ADVISE, (caddr_t)&mha, 0, 0); >> >> Stack should be mapped with 64k pages, too: >> ? ? ? ? struct memcntl_mha mha; >> ? ? ? ? mha.mha_cmd = MHA_MAPSIZE_STACK; >> ? ? ? ? mha.mha_flags = 0; >> ? ? ? ? mha.mha_pagesize = 64 * 1024; >> ? ? ? ? (void)memcntl(NULL, 0, MC_HAT_ADVISE, (caddr_t)&mha, 0, 0); >> >> You should examine if the shadow buffer is mapped with 64k pages and >> compare the performance with 64k pages and 8k pages. You should at >> least see a 9-15% increase in performance. >> > > thanks. > i am not familiar with these 64k pages. > but you dont think i can speed up the transfer speed of the > shadow FB to the video ram? > -jfs > _______________________________________________ > xwin-discuss mailing list > xwin-discuss at opensolaris.org >
