Does some proaudo stuff uses raw linux devices?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Does some proaudo stuff uses raw linux devices?

Zlobin Nikita
Hello all.

While configuring kernel, i stucked on option CONFIG_RAW_DRIVER, which
enables /dev/raw device section.

I suppose, things like linuxsampler or others, hardly working with
storage, might utilize this access way for most direct access to
samples. Or even in audio recording (only nearly imaginations).
Is it so really?

While searching in internet to learn about its real status, i got 2
facts:
- When raw device is mapped to some hda/sda dev, allowing to use it
  even bypassing disk's internal cache.
https://unix.stackexchange.com/questions/238798/what-happened-to-dev-raw
- Yet i found proposal to remove raw devices support, argumented as
  these devices have no notable use.
http://lkml.iu.edu/hypermail/linux/kernel/0505.2/1387.html
(but that discussion is sooo old...)
_______________________________________________
Linux-audio-dev mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Does some proaudo stuff uses raw linux devices?

Clemens Ladisch
Nikita Zlobin wrote:
> While configuring kernel, i stucked on option CONFIG_RAW_DRIVER, which
> enables /dev/raw device section.
>
> I suppose, things like linuxsampler or others, hardly working with
> storage, might utilize this access way for most direct access to
> samples. Or even in audio recording (only nearly imaginations).
> Is it so really?

No.  Using a raw device would require that the application implements
its own file system.

Streaming audio samples is easy to handle with existing file systems.


Regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Does some proaudo stuff uses raw linux devices?

Brett McCoy-2
On Tue, Jun 13, 2017 at 2:43 AM, Clemens Ladisch <[hidden email]> wrote:
Nikita Zlobin wrote:
> While configuring kernel, i stucked on option CONFIG_RAW_DRIVER, which
> enables /dev/raw device section.
>
> I suppose, things like linuxsampler or others, hardly working with
> storage, might utilize this access way for most direct access to
> samples. Or even in audio recording (only nearly imaginations).
> Is it so really?

No.  Using a raw device would require that the application implements
its own file system.

Streaming audio samples is easy to handle with existing file systems.


It's usually database systems like Oracle (maybe PostgreSQL?) that use raw device access like that. Not as a big of an issue these days as it was in the late 90s/early 00s, where system performance wasn't as good, or drives weren't as fast or efficient. Even commercial samplers like Kontakt don't use raw access either for DFD streaming.

_______________________________________________
Linux-audio-dev mailing list
[hidden email]
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Loading...