> > I think it's better to fix userspace to not allocate as much buffer per > frame as it does now rather than having a pool of wb pages, i removed > it because on my 64M box memory is getting tight, we need to compute > the number of page we still based on memory. Also i think it's ok > to assume that page allocation is fast enough.
Yup we could try decreasing the DMA buffer size, I think the DMA buffer would be a lot better suited to suballocation, doing individual bo allocs like the code used to was a major hit, assuming page alloc is fast enough isn't valid since I've already proved it was a major CPU user when I fixed it the first time :) The problem with making the dma buffer smaller is the having a buffer mapped and sent to the kernel for relocs. Dave. ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
