Re: experiences beyond 4 GB RAM with 2.4.22

From: Jens Axboe
Date: Fri Sep 12 2003 - 02:16:17 EST


On Fri, Sep 12 2003, Stephan von Krawczynski wrote:
> > My only guess is that it is doing a lot of copying into low memory
> > because your devices can only DMA into/outof low memory.
>
> I forgot to mention: Both network card and controller are 64 bit cards.
> Network card is (vendor 3com):
> Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet
> (rev 15) (tg3-driver)
> Controller is:
> RAID bus controller: 3ware Inc 3ware 7000-series ATA-RAID (rev 01)
> I have "CONFIG_HIGHIO=y"

That is not enough, the 3ware driver only sets a 32-bit IO capability
mask. So you will still be bouncing to/from the upper 2G, Neils
diagnosis is absolutely right. If you want to verify this fact, boot
with profile=2 and run readprofile -r; updatedb; readprofile | sort -nr
and you should see the bounce copy functions near the top.

As a paying customer, you should ask 3ware about their hardware. They
might be able to support > 32-bit dma just noone has asked about this
feature yet. A quick peek at their driver shows they define their sg
address element as a 32-bit quantity, so maybe not...

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/