On Tue, 2007-08-21 at 17:34 +0200, Roch - PAE wrote: 
> adrian cockcroft writes:
>  > Why can't you adapt ZFS for swap? It does the transactional clustering of
>  > random writes into sequential related blocks, aggressive prefetch on read,
>  > and would also guard against corrupt blocks in swap. Anon-ZFS?
>  > Adrian
> 
> Good point. And It works already, swap to a zvol 

For small values of "works".  See:

6528296 system hang while zvol swap space shorted

Quoting from the evaluation:
        
        "The txg_sync_thread T3 is waiting on a lock (vq_lock) held by a
        zio_vdev_io_done thread T4 who is waiting on memory. The swapout
        thread T1 who would release memory is blocked on a lock held by
        paegout thread T2 who wants to start a transaction is blocked in
        txg_wait_open due to T1.  Thus completing the deadlock."
        


                                        - Bill


_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to