[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Improvements to DOSFS
- Date: Thu, 31 Jul 2003 10:08:50 +1000
- From: cjohns at cybertec.com.au (Chris Johns)
- Subject: Improvements to DOSFS
Thomas Doerfler wrote:
>
> today I have added three PRs (439-441) to RTEMS gnatsweb.
> These PR have patches for the following issues:
>
> 1. Adding rename functionality to DOSFS
>
> 2. Improvment of data write speed
>
> 3. Flush of temporary data buffer when closing a file to make
> removing of media or poweroff of system without "unmount" more
> reliable
>
I have the disk performance test program Bonnie running on RTEMS.
http://www.textuality.com/bonnie/intro.html
I could place a copy on the RTEMS ftp incoming directory if you are interested in
running it with your changes. Let me know and I will upload it.
>
> 2. Improvement of write data speed
>
On the subject of performance, I noticed in the ATA driver:
http://www.rtems.com/cgi-bin/cvsweb.cgi/rtems/c/src/libchip/ide/ata.c
in function:
ata_io_data_request ()
the following code:
areq = malloc(sizeof(ata_req_t));
if (areq == NULL)
{
return RTEMS_NO_MEMORY;
}
Does this mean each ATA request is performing a malloc ?
--
Chris Johns, cjohns at cybertec . com . au