Jump to content

VirtualTV plugin


pünktchen

Recommended Posts

CBers

I think 10 seconds is okay for a remote stream. More important is you get the same timeframes!

 

Just the issue of the pausing after playback starts.

 

There's nothing in the server log, so I will try again tonight when I am home on my LAN.

Link to comment
Share on other sites

Dibbes

@@pünktchen Let me know if you need anything else.

 

Here you go:

 

5e2f300d257b1_moviess2.png

 

and the logs. You may notice that hardware encoding does not work, it's software only for some strange reason... I think I read something this is a server thing though...

embyserver-63715751054.txt

hardware_detection-63715750414.txt

Movie1 - ffmpeg-remux-aed9114b-4530-4b02-944a-651c2281cc75_1.txt

Movie2 - ffmpeg-remux-ab203f69-62aa-4e74-ac8a-5753f4389494_1.txt

Movie3 - ffmpeg-transcode-b6ed0987-4026-4a39-bc85-79f147b5da23_1.txt

Edited by Dibbes
Link to comment
Share on other sites

pünktchen

@@Dibbes I have a suspicion already. To proof it, please use the attached plugin for one playback attempt and upload the embyserver log. No need for ffmpeg logs.

Link to comment
Share on other sites

pünktchen
2020-01-28 03:46:16.514 Info LiveTvManager: Opening channel stream from VirtualTV, external channel Id: VirtualTV0
2020-01-28 03:46:16.524 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#1
2020-01-28 03:46:16.525 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#2
2020-01-28 03:46:20.416 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#3
2020-01-28 03:46:20.732 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#4
2020-01-28 03:46:20.759 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Items/863126/PlaybackInfo?UserId=15. UserAgent: 
2020-01-28 03:46:20.871 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 113ms. http://127.0.0.1:8096/emby/Items/863126/PlaybackInfo?UserId=15
2020-01-28 03:46:20.887 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#5
2020-01-28 03:46:20.888 Info Plugin: [VirtualTV] Streaming > Start Stream for Channel: VirtualTV0, Path: \\nirvana\Movies\1990s\Star Wars, Episode I - The Phantom Menace (1999)\Star.Wars.Episode.I.1999.1080p.BluRay.X264-AMIABLE.mkv
2020-01-28 03:46:20.891 Info LiveTvManager: Live stream opened after 0,4055ms

My suspicion was right. You can see between starting the channel request (Opening channel ...) and returning the movie path (Live stream opened ...) it takes more than 4 seconds. In your other log it was even about 6 seconds. This is the time my plugin needs to query your database for the currently running program. I've also seen this in other situations in your log - your database reacts very slow. So either your database is very very big or very old. Anyway, you can try this to speed up your database: https://emby.media/community/index.php?/topic/75510-42032-vacuum-database-config-switch/?hl=vacuum Don't forget to make a backup of the database!

  • Like 2
Link to comment
Share on other sites

Dibbes
2020-01-28 03:46:16.514 Info LiveTvManager: Opening channel stream from VirtualTV, external channel Id: VirtualTV0
2020-01-28 03:46:16.524 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#1
2020-01-28 03:46:16.525 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#2
2020-01-28 03:46:20.416 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#3
2020-01-28 03:46:20.732 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#4
2020-01-28 03:46:20.759 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Items/863126/PlaybackInfo?UserId=15. UserAgent: 
2020-01-28 03:46:20.871 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 113ms. http://127.0.0.1:8096/emby/Items/863126/PlaybackInfo?UserId=15
2020-01-28 03:46:20.887 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#5
2020-01-28 03:46:20.888 Info Plugin: [VirtualTV] Streaming > Start Stream for Channel: VirtualTV0, Path: \\nirvana\Movies\1990s\Star Wars, Episode I - The Phantom Menace (1999)\Star.Wars.Episode.I.1999.1080p.BluRay.X264-AMIABLE.mkv
2020-01-28 03:46:20.891 Info LiveTvManager: Live stream opened after 0,4055ms

My suspicion was right. You can see between starting the channel request (Opening channel ...) and returning the movie path (Live stream opened ...) it takes more than 4 seconds. In your other log it was even about 6 seconds. This is the time my plugin needs to query your database for the currently running program. I've also seen this in other situations in your log - your database reacts very slow. So either your database is very very big or very old. Anyway, you can try this to speed up your database: https://emby.media/community/index.php?/topic/75510-42032-vacuum-database-config-switch/?hl=vacuum Don't forget to make a backup of the database!

 

 

I rebuild my server about 2 months ago, but the database is quite big yes... in total I have about 50k series episodes, 8k movies and then I'm not even talking about music. It took a week and a half to rebuild the database by server scan. I cannot import my whole music library (at the moment I only have about 4TB of music imported (which is about 25% of what I have in AirSonic), nor my comics and ebooks, nor all the games, as it slows down the server to the point that it becomes unusable.

 

EDIT: I did the vacuuming and it finished properly. I like the spelling in the log:

 

          Info App: Completed vacumming SqliteItemRepository after 922365ms

 

Unfortunately using a proper database is not going to happen in my lifetime, I guess... I've asked first time about 5 years ago...

 

Strangely enough though, when playing directly from Emby, a movie starts within 2 to 4 seconds... what is the difference?

Edited by Dibbes
Link to comment
Share on other sites

Dibbes

This is after the vacuum on beta 4.4.0.10:

2020-01-28 11:46:04.861 Info App: User policy for Rob. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2020-01-28 11:46:04.863 Info LiveTvManager: Opening channel stream from VirtualTV, external channel Id: VirtualTV9
2020-01-28 11:46:04.864 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#1
2020-01-28 11:46:04.864 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#2
2020-01-28 11:46:20.236 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#3
2020-01-28 11:46:20.929 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#4
2020-01-28 11:46:20.934 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Items/57406/PlaybackInfo?UserId=15. UserAgent: 
2020-01-28 11:46:21.001 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 67ms. http://127.0.0.1:8096/emby/Items/57406/PlaybackInfo?UserId=15
2020-01-28 11:46:21.006 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#5
2020-01-28 11:46:21.006 Info Plugin: [VirtualTV] Streaming > Start Stream for Channel: VirtualTV9, Path: \\nirvana\Movies\1980s\The Karate Kid Part II (1986)\The.Karate.Kid.Part.II.1986.1080p.BluRay.x264-LCHD.mkv
2020-01-28 11:46:21.007 Info LiveTvManager: Live stream opened after 0,0652ms

not sure what's happening here.

Link to comment
Share on other sites

pünktchen

Strangely enough though, when playing directly from Emby, a movie starts within 2 to 4 seconds... what is the difference?

If you play something from your library, you are requesting an item that already has the file filepath as its own property.

If you play a real live tv channel, you are always requesting one single channel item. This channel item doesn't have a path or stream adress. It's the responsibility of the live tv plugins to return that stream path.

Normally that stream path is then returned by a tv backend server/software with it's own database. But my plugin doesn't have it's own backend with static stream adresses for every channel.

So i have to query Emby's database two times. One time to get the Internal Database Id of the live tv channel by the External Channel Id that Emby sends with every channel request. And a second time to get the program item that sits behind the Internal Channel Id at the current runtime.

 

I hope that explains it a little bit.

Link to comment
Share on other sites

Dibbes

If you play something from your library, you are requesting an item that already has the file filepath as its own property.

If you play a real live tv channel, you are always requesting one single channel item. This channel item doesn't have a path or stream adress. It's the responsibility of the live tv plugins to return that stream path.

Normally that stream path is then returned by a tv backend server/software with it's own database. But my plugin doesn't have it's own backend with static stream adresses for every channel.

So i have to query Emby's database two times. One time to get the Internal Database Id of the live tv channel by the External Channel Id that Emby sends with every channel request. And a second time to get the program item that sits behind the Internal Channel Id at the current runtime.

 

I hope that explains it a little bit.

 

There's no way to cache this? I'd have thought that you'd get most of this stuff when you do the guide refresh so that when it's needed, it's there already...

Link to comment
Share on other sites

pünktchen

You don't get it. There's absolutely no relation between a live tv channel stream request and the actual program behind it in Emby.

Emby is asking the plugin this: Give me a stream url for the Channel with id ###

Emby is NOT asking this: Give me a stream for the Program with id ###

 

  • Like 1
Link to comment
Share on other sites

Dibbes

You don't get it. There's absolutely no relation between a live tv channel stream request and the actual program behind it in Emby.

Emby is asking the plugin this: Give me a stream url for the Channel with id ###

Emby is NOT asking this: Give me a stream for the Program with id ###

 

Ahhh... then no, there's no way to cache this... thanks for explaining!

Link to comment
Share on other sites

Dibbes

@@Dibbes have you ever thought about using a RAM disk for your database?

 

Yes, I have... that went very well until there was a power issue... unfortunately Spain is not as stable as Germany when it comes to the power-grid...

 

Also, how much would I really gain between the SSD or the RAM? half a second? Without cache functionality as SQLite does not offer that, I'm not too sure if it's worth the bother and the risk...

Link to comment
Share on other sites

CBers

This is after the vacuum on beta 4.4.0.10

 

Out of curiosity, how much was your library.db file size reduced by ?

Link to comment
Share on other sites

pünktchen

Yes, I have... that went very well until there was a power issue... unfortunately Spain is not as stable as Germany when it comes to the power-grid...

 

Also, how much would I really gain between the SSD or the RAM? half a second? Without cache functionality as SQLite does not offer that, I'm not too sure if it's worth the bother and the risk...

A power loss can also corrupt the database if it's on the HDD. Of course you have to create a daily sync job to HDD with a RAM disc in use.

I would just try it to see if there's any performance gain. The Asus ROG RAMDisk is simple to configure and allows you to create a symlink to the RAM disk as a replacement to Emby's data folder.

  • Like 1
Link to comment
Share on other sites

Dibbes

Out of curiosity, how much was your library.db file size reduced by ?

Maybe 350MB, nothing to write home about, certainly not with the 15 minute wait for staying up... It was and still is over 5GB...

 

 

Sent from my iPad using Tapatalk

Link to comment
Share on other sites

Dibbes

A power loss can also corrupt the database if it's on the HDD. Of course you have to create a daily sync job to HDD with a RAM disc in use.

I would just try it to see if there's any performance gain. The Asus ROG RAMDisk is simple to configure and allows you to create a symlink to the RAM disk as a replacement to Emby's data folder.

I'll take a look at it either later tonight when home or tomorrow... Airport WiFi is not something I want to use setting that up... Lol

 

Edit: and I absolutely hate autocorrect...

 

Sent from my iPad using Tapatalk

Edited by Dibbes
Link to comment
Share on other sites

CBers

Maybe 350MB, nothing to write home about, certainly not with the 15 minute wait for staying up... It was and still is over 5GB...

Damn, that's large.

  • Like 1
Link to comment
Share on other sites

CBers

Just the issue of the pausing after playback starts.

 

@@pünktchen Any thoughts on the pausing after playback starts ? It doesn't happen with normal Live TV playback start.

Link to comment
Share on other sites

Dibbes

@@Dibbes can you please try the attached version.

 

Now this isn't bad at all! Speed improved a LOT:

2020-01-29 10:42:54.727 Info HttpServer: HTTP GET http://emby:8096/Users/bf424af37d75434e96e9673343bd836e/Items/678233. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
2020-01-29 10:42:54.848 Info HttpServer: HTTP Response 200 to 192.168.1.170. Time: 121ms. http://emby:8096/Users/bf424af37d75434e96e9673343bd836e/Items/678233
2020-01-29 10:42:54.870 Info HttpServer: HTTP GET http://emby:8096/Users/bf424af37d75434e96e9673343bd836e. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
2020-01-29 10:42:54.873 Info HttpServer: HTTP Response 200 to 192.168.1.170. Time: 3ms. http://emby:8096/Users/bf424af37d75434e96e9673343bd836e
2020-01-29 10:42:54.962 Info HttpServer: HTTP POST http://emby:8096/Items/678233/PlaybackInfo?UserId=bf424af37d75434e96e9673343bd836e&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
2020-01-29 10:42:55.078 Info App: User policy for Rob. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2020-01-29 10:42:55.108 Info LiveTvManager: Opening channel stream from VirtualTV, external channel Id: VirtualTV19
2020-01-29 10:42:55.116 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#1
2020-01-29 10:42:55.117 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#2
2020-01-29 10:42:55.119 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#3
2020-01-29 10:42:55.369 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#4
2020-01-29 10:42:55.389 Info HttpServer: HTTP POST http://127.0.0.1:8096/emby/Items/60316/PlaybackInfo?UserId=15. UserAgent: 
2020-01-29 10:42:55.455 Info HttpServer: HTTP Response 200 to 127.0.0.1. Time: 67ms. http://127.0.0.1:8096/emby/Items/60316/PlaybackInfo?UserId=15
2020-01-29 10:42:55.472 Info Plugin: [VirtualTV] EmbyDirectPlay > Debug#5
2020-01-29 10:42:55.472 Info Plugin: [VirtualTV] Streaming > Start Stream for Channel: VirtualTV19, Path: \\nirvana\Movies\2010s\The Girl with the Dragon Tattoo (2011)\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.mkv
2020-01-29 10:42:55.475 Info LiveTvManager: Live stream opened after 0,3701ms
2020-01-29 10:42:55.488 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"VirtualTV19_20200129104255_60316","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/756a7699a9ef41cfb6c1dbc205156712/stream.ts","Type":"Default","Container":"mkv","IsRemote":false,"RunTimeTicks":94884110000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_5a2a3696663f2d841ecf750c5cf0f9a2_VirtualTV19_20200129104255_60316","RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"583/27956","VideoRange":"SDR","DisplayTitle":"1080p H264","DisplayLanguage":"English","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":9891365,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":800,"Width":1920,"AverageFrameRate":23.975986,"RealFrameRate":23.975986,"Profile":"High","Type":"Video","AspectRatio":"2.40:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"dts","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"English DTS 5.1 (Default)","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":1536000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"DTS","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"subrip","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"English (SUBRIP)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File"},{"Codec":"subrip","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"English (SUBRIP)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Protocol":"File"},{"Codec":"srt","Language":"ger","DisplayTitle":"German (SRT)","DisplayLanguage":"German","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":4,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"\\\\nirvana\\Movies\\2010s\\The Girl with the Dragon Tattoo (2011)\\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.de.srt","Protocol":"File"},{"Codec":"srt","Language":"dut","DisplayTitle":"Dutch (SRT)","DisplayLanguage":"Dutch","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":5,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"\\\\nirvana\\Movies\\2010s\\The Girl with the Dragon Tattoo (2011)\\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.dut.srt","Protocol":"File"},{"Codec":"srt","Language":"eng","DisplayTitle":"English (SRT)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":6,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"\\\\nirvana\\Movies\\2010s\\The Girl with the Dragon Tattoo (2011)\\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.eng.srt","Protocol":"File"},{"Codec":"srt","Language":"fre","DisplayTitle":"French (SRT)","DisplayLanguage":"French","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":7,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"\\\\nirvana\\Movies\\2010s\\The Girl with the Dragon Tattoo (2011)\\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.fr.srt","Protocol":"File"},{"Codec":"srt","Language":"dut","DisplayTitle":"Dutch (SRT)","DisplayLanguage":"Dutch","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":8,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"\\\\nirvana\\Movies\\2010s\\The Girl with the Dragon Tattoo (2011)\\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.nld.srt","Protocol":"File"},{"Codec":"srt","Language":"spa","DisplayTitle":"Spanish (SRT)","DisplayLanguage":"Spanish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":9,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"\\\\nirvana\\Movies\\2010s\\The Girl with the Dragon Tattoo (2011)\\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.spa.srt","Protocol":"File"},{"Codec":"sub","Language":"spa","DisplayTitle":"Spanish (SUB)","DisplayLanguage":"Spanish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":10,"IsExternal":true,"IsTextSubtitleStream":false,"SupportsExternalStream":true,"Path":"\\\\nirvana\\Movies\\2010s\\The Girl with the Dragon Tattoo (2011)\\the.girl.with.the.dragon.tattoo.2011.1080p.bluray.x264-sparks.spa.sub","Protocol":"File"}],"Formats":[],"Bitrate":11427365,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false,"DefaultAudioStreamIndex":1}
2020-01-29 10:42:55.491 Info App: User policy for Rob. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2020-01-29 10:42:55.493 Info HttpServer: HTTP Response 200 to 192.168.1.170. Time: 532ms. http://emby:8096/Items/678233/PlaybackInfo?UserId=bf424af37d75434e96e9673343bd836e&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000
2020-01-29 10:42:56.921 Info HttpServer: HTTP GET http://emby:8096/videos/678233/master.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NzIuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC83Mi4wfDE1ODAwNjIyNTUwNDc1&MediaSourceId=VirtualTV19_20200129104255_60316&PlaySessionId=3ced88be762b4565ac905e539313336f&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_5a2a3696663f2d841ecf750c5cf0f9a2_VirtualTV19_20200129104255_60316&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139616000&AudioBitrate=384000&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported. Connection=keep-alive, Accept=*/*, Accept-Encoding=gzip, deflate, Accept-Language=en-US,en;q=0.5, Host=emby:8096, Referer=http://emby:8096/web/index.html, User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0, X-Requested-With=XMLHttpRequest, DNT=1

What did you change?

Edited by Dibbes
Link to comment
Share on other sites

Dibbes

A power loss can also corrupt the database if it's on the HDD. Of course you have to create a daily sync job to HDD with a RAM disc in use.

I would just try it to see if there's any performance gain. The Asus ROG RAMDisk is simple to configure and allows you to create a symlink to the RAM disk as a replacement to Emby's data folder.

 

This doesn't install on server 2016, it's not supported either... Probably because memory management is different under a server OS. I'll look into another one when I have a few hours...

Edited by Dibbes
Link to comment
Share on other sites

pünktchen

what's this one for?

I've added some additional filters to one of the database queries to minimize the returned results.

I don't know if it has any impact, because i don't know anything about the inner working of database queries and my own database is just too small to notice something.

The same procedure and log lines as with your last test will tell us...

Link to comment
Share on other sites

Dibbes

I've added some additional filters to one of the database queries to minimize the returned results.

I don't know if it has any impact, because i don't know anything about the inner working of database queries and my own database is just too small to notice something.

The same procedure and log lines as with your last test will tell us...

 I edited that post... just a minute late, so I see... lol

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...