public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mainline i2o issues with adaptec raid (was: i2o and adaptec raid)
@ 2004-08-03  5:02 Justin Guyett
  2004-08-03  6:09 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Justin Guyett @ 2004-08-03  5:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: Hibbard Smith

I just started toying with an adaptec i2o card, an Adaptec 2110s, and
for random reads and writes bonnie++ shows that the i2o driver is
somewhat slower than the dpt_i2o driver.

Then there's instability with i2o.  The bonnie++ rewrite stage with 5G
files causes the process to hang with almost all physical memory
consumed.  When it doesn't hang, memory is not reclaimable after it
exits.

If i2o is compiled as a module and I can get the reaper to kill bonnie++
(SAK kills the shell but obviously not bonnie++), the memory leak
remains if I then unload i2o_block and i2o_core.

When the i2o_block is unloaded:
 Debug: sleeping in function called from invalid context at mm/slab.c:1989
(Aug 3 02:35:33 in min-log at the url below)

The memory and freeze issues are not module dependent, and it's not
eaten up in cache or buffers.  One example: 4036k cached, 140k buffers.

Swap is working fine.  Once when bonnie++ froze, I tried dd from
/dev/urandom to the same partition bonnie++ is testing, and swap starts
getting used.  With xfs.  Even with bonnie++ reaped, the memory seems
unreclaimable.

That's all with xfs, but the same thing happens with ext3
data=writeback; the difference is I can't seem to get the oom killer to
reap bonnie++ when it's writing to a file on an ext3 partition.

I didn't try SAK on bonnie++ under xfs.  I forgot.

general details: dual xeon w/HT, 1G (4G Highmem setting), adaptec 2110s.
(but without 4k stacks, the villain of the week).  Hung processes are in
state D.  There's no swapping, but swap is available.  For the ext3
hang, swap usage is at 44k and memory isn't even entirely used, only
927M of it.

http://skoda.sockpuppet.org/~tyme/i2o/

"min-cpu"	cpuinfo
"min-mod-(log|config)" are with i2o as a module, under xfs; this one
  contains the Debug: statement above, triggered by rmmod i2o_block
"min-ci-(log|config)" are with i2o compiled in, under xfs
"min-ext3-(log|ps)" is with i2o compiled in, under ext3 (same .config).

typical memory usage at time of freeze is 900-1020MiB (out of 1G)

In the ext3 log, there are two process dumps.  I took the second with
bash (tab completion) and dd frozen as well (as bonnie++).

Under ext3, anything writing to the same directory as bonnie seems to
freeze.  With xfs, anything not dealing with the file in question (i.e.
the dd I use to try to get bonnie++ reaped) succeed, though they may be
slow.

The bonnie cmd line is in min-ext3-ps.  The same bonnie trial succeeds
if dpt_i2o is used rather than i2o.

One final tidbit.  umount -f /db ends up with:

umount2: Device or resource busy
umount: /dev/i2o/hda/part7: not mounted
umount: /db: Illegal seek
umount2: Devoce or resource busy
umount: /db: device is busy


I can't test this system beyond Tuesday afternoon, unfortunately.

-- 
"When in our age we hear these words: It will be judged by the result--then we
know at once with whom we have the honor of speaking.  Those who talk this way
are a numerous type whom I shall designate under the common name of assistant
professors."  -- Kierkegaard, Fear and Trembling (Wong tr.), III, 112


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-03 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-03  5:02 mainline i2o issues with adaptec raid (was: i2o and adaptec raid) Justin Guyett
2004-08-03  6:09 ` Andrew Morton
2004-08-03  8:21   ` 2.6 mainline i2o issues with adaptec raid Justin Guyett
2004-08-03 22:03   ` mainline i2o issues with adaptec raid (was: i2o and adaptec raid) Justin Guyett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox