downloading playback from the camera that use truenas/nfs, very slow?

Spirch

Getting the hang of it
Joined
Dec 7, 2018
Messages
132
Reaction score
63
Location
Canada
it might be normal but I would like to ask, right now i find it annoying and if it's not then i would like to fix it.

is it normal that downloading a video playback from the camera api/isapi which record to a truenas using nfs is between 1.5MB/sec?

in my example the camera used is DS-2DE4A404IW-DE

using this to find a playback
Code:
curl -f --anyauth --user user:pass -X POST -d "<CMSearchDescription><searchID>C92DC285-8F30-0001-40C6-F0EFA8FB18B5</searchID><trackList><trackID>101</trackID></trackList><timeSpanList><timeSpan><startTime>2022-12-22T00:00:00Z</startTime><endTime>2022-12-22T23:59:59Z</endTime></timeSpan></timeSpanList><maxResults>100</maxResults><searchResultPostion>0</searchResultPostion><metadataList><metadataDescriptor>/recordType.meta.std-cgi.com</metadataDescriptor></metadataList></CMSearchDescription>" "http://192.168.40.40/ISAPI/ContentMgmt/search"

using this to download it
Code:
curl -f --anyauth --user user:pass -X GET -d "<downloadRequest><playbackURI>rtsp:/192.168.40.40/Streaming/tracks/101/?starttime=20221222T144808Z&amp;endtime=20221222T145546Z&amp;name=ch01_08000100148000000&amp;size=260587520</playbackURI></downloadRequest>" "http://192.168.40.40/ISAPI/ContentMgmt/download" --output download.mp4

ouput is
Code:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 54   389    0     0  100   211      0  17958 --:--:-- --:--:-- --:--:-- 19181
100  248M  100  248M  100   211  1459k      1  0:03:31  0:02:54  0:00:37 1464k

video length is 7m38s

the disk in question is a WD Purple 4TB Surveillance Hard Drive
I have 4 cameras recording to it 24/7, total about 2.5MB/sec write
 

ludshed

Getting comfortable
Joined
Sep 14, 2022
Messages
567
Reaction score
698
Location
Us
You might need a better nas solution; four cameras writing to it while you’re trying to read different data might be bottle necking that drive.
 

Spirch

Getting the hang of it
Joined
Dec 7, 2018
Messages
132
Reaction score
63
Location
Canada
You might need a better nas solution; four cameras writing to it while you’re trying to read different data might be bottle necking that drive.
I hope the drive can handle that little load, it's suppose to be made for this

marketing say up to 64 camera, 4 should be nothing...

what speed do you get when downloading playback? what are your setup?
 
Top