Re: Is it possible to implement a real-time API to read the files on the disk?

2021-01-14 Thread Wolfgang Denk via Xenomai
Dear 孙世龙 sunshilong, In message you wrote: > > >You can guarantee _average_ data for I/O to storage devices, like a > >guaranteed sustained throughput (*), but you will not be able to > >guarantee any hard real-time behaviour (like latencies or such). > It seems that real-time OS could not

Re: Is it possible to implement a real-time API to read the files on the disk?

2021-01-07 Thread 孙世龙 sunshilong via Xenomai
I see. Thank you for your detailed explanation. My understanding of this question is at a different level with your generous help. >You can guarantee _average_ data for I/O to storage devices, like a >guaranteed sustained throughput (*), but you will not be able to >guarantee any hard real-time

Re: Is it possible to implement a real-time API to read the files on the disk?

2021-01-07 Thread Wolfgang Denk via Xenomai
Dear 孙世龙 sunshilong, In message you wrote: > >depends on your use case, maybe possible to add a raw disk, only used by > >the time critical code? > It seems a good solution. > It's possible to add a raw disk. This will not help you at all. The key problem here is that common storage devices

Re: Is it possible to implement a real-time API to read the files on the disk?

2021-01-06 Thread Fino Meng via Xenomai
On Thu, Jan 07, 2021 at 10:03:06AM +0800, 孙世龙 sunshilong wrote: > >depends on your use case, maybe possible to add a raw disk, only used by > >the time critical code? > It seems a good solution. > It's possible to add a raw disk. > One more question, does it could guarantee the read operation

Re: Is it possible to implement a real-time API to read the files on the disk?

2021-01-06 Thread 孙世龙 sunshilong via Xenomai
>depends on your use case, maybe possible to add a raw disk, only used by >the time critical code? It seems a good solution. It's possible to add a raw disk. One more question, does it could guarantee the read operation achieve a real-time performance by this method(i.e occupying another disk)? Is

Re: Is it possible to implement a real-time API to read the files on the disk?

2021-01-05 Thread Fino Meng via Xenomai
On Mon, Jan 04, 2021 at 07:58:53PM +0800, 孙世龙 sunshilong via Xenomai wrote: > Is it possible to implement a real-time API to read the files on the disk? > > As far as I know, there is no such an interface now, but is it > possible to achieve this goal? > > I would be grateful to have some help

Re: Is it possible to implement a real-time API to read the files on the disk?

2021-01-04 Thread Julien Blanc via Xenomai
Le lundi 04 janvier 2021 à 19:58 +0800, 孙世龙 sunshilong via Xenomai a écrit : > Is it possible to implement a real-time API to read the files on the disk? > > As far as I know, there is no such an interface now, but is it > possible to achieve this goal? I doubt it could be. It depends on what

Is it possible to implement a real-time API to read the files on the disk?

2021-01-04 Thread 孙世龙 sunshilong via Xenomai
Is it possible to implement a real-time API to read the files on the disk? As far as I know, there is no such an interface now, but is it possible to achieve this goal? I would be grateful to have some help with this question. Best Regards Sunshilong