<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Speed up FDS read</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82793/speed-up-fds-read</link><description>Hi, 
 
 I am developing a health wearable and want to store biosignal data into flash and then read at some point. I found that the reading process is relative slow as I tested (about 730 bytes/s). Is there any way to speed up the fds reading process</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Dec 2021 11:41:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82793/speed-up-fds-read" /><item><title>RE: Speed up FDS read</title><link>https://devzone.nordicsemi.com/thread/343614?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 11:41:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:244f020b-1b9b-4b4d-ba6a-6600195313a9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rjfang,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe the function that takes the most significant time is the fds_record_find() function. It would loop through the whole file system to look for the next record. I think it&amp;#39;s the challenge when you have a file system. The abstraction and wear levering benefit&amp;nbsp;makes it take longer to find and access the data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How large is your database ? How many records do you have on average ? You may want to consider grouping larger data into one record, hence lower the number of record and can bring the searching time lower.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I would suggest to test the timing by flipping a GPIO before and after a function and check how long it would take to complete the function using a logic analyzer/oscilloscope.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>