Skip to contentSkip to conversation

scsi_malloc fragmentation in 2.4.X

DISCUSSION Justin T. Gibbs 3 participants 3 messages Dec 20, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

Are there any plans to correct the scsi_malloc fragmentation problems in 2.4.X? It looks like this problem has been addressed in 2.5.X by using memory pools, but the current 2.4.X solution of just "backing off a bit" if scsi_malloc returns NULL, is much less than ideal. At least the user isn't assaulted by lots of "Running really short on DMA buffers" messages, but performance does suffer when the only reason you can't queue an I/O is that the pre-allocated S/G list memory is so poorly managed that the available memory can't be used.

--
Justin

#1 lore raw
Quoted 2 lines · Justin T. Gibbs

Are there any plans to correct the scsi_malloc fragmentation problems in 2.4.X?

Someone from Veritas had a patch for this, but unfortunately it seems that one got left somewhere.

#2 lore raw
In reply to Justin T. Gibbs
Quoted 3 lines · Justin T. Gibbs

Are there any plans to correct the scsi_malloc fragmentation problems in 2.4.X? It looks like this problem has been addressed in 2.5.X by using memory pools, but the current 2.4.X solution of just "backing off a bit"

Not in my plans anyway. There's so much broken in 2.4 that fixing it means upgrading to 2.6 when available IMHO, so that's why I'm trying to get 2.6 fixed up as fast as possible and letting 2.4 be as it is.

Signature · 4 lines
  Doug Ledford <[email protected]>     919-754-3700 x44233
         Red Hat, Inc. 
         1801 Varsity Dr.
         Raleigh, NC 27606