RE: Memory Performance Issue with Fedora Core 2 Kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]
On Behalf Of James Foris
Sent: Monday, July 26, 2004 3:22 PM
To: fedora-list@xxxxxxxxxx
Subject: Memory Performance Issue with Fedora Core 2 Kernels
...[snip]...

>My driver requires a large amount of contiguous physical memory for
>DMA from a PCI device.  I use the 'mem=YYY' command line parameter to
>reserve the top of physical RAM for my driver.  Then I allow mapping
>via mmap() calls to user space.  The user space app then uses this
>pointer to save the data to disk.

>Normally the user space app writes to disk using the mmap()'d pointer as
>the source.  With the new kernels these writes are taking way too long
>(around 20 MB/s).  Even when the write goes to /dev/shm, the speed is
>limited to around 20 MB/s.  A memcpy from the mmap()'d memory seems to
>have no such slowdown.

The bottleneck seems to be in i/o...

check the hdparm settings on the drive.

(memcpy will definitely run faster than disc i/o)

...[snip]...

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux