Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread support-list
Harry, With 10fps it should be 38 seconds. Andrey ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread Harry Kim
Andrey, I like to know how to estimate the maximal CF dead time it can tolerate because I think I can measure the excessive writing timeout on the card. We only use fixed image quality and don't skip any frames. If the image size in bytes is about 50KB at 10 fps, for 19MB buffer size, that is abo

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread support-list
Harry, I need to know the average compressed frame size in bytes, not in pixels as I wrote in one of the previous messages. This depends on the image contents, dimensions as well as on the compression quality. As I wrote earlier, buffer size in the current firmware is 19MB, so it is possible to

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread Harry Kim
image size 1136x960 at 7 fps is the normal usage for our application. With the old CF cards, we never had a problem. With the newer CF cards, although it is rare, we have seen communication failure between the image and the camera server/our application.This is a big concern for our existing p

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread support-list
Harry, Flash memory controllers use proprietary algorithms, so it is out of our control. I tried to contact CF manufacturer about another problem I discovered (described in this article: http://archive.linuxgizmos.com/open-source-camera-records-geotagged-video-to-sata-hdd/ ), but they could

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread Harry Kim
The reason I was asking this question was that the CF card (SandDisk Ultra at 30MB/sec) we purchased recently started to cause problems with an existing application occasionally in a random fanshion. However, the old CF cards (SanDisk Extreme III at 30MB/sec) doesn't cause any problems. The probl

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread Harry Kim
I realized that you already answered my question in another e-mail. If there is any new information, please let me know. On Fri, Mar 13, 2015 at 8:09 AM, Harry Kim wrote: > Hi Andrey, > > For your information, I attached a simple program that writes data chunk > of 200KB 10,000 times to a CF car

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-13 Thread Harry Kim
Hi Andrey, For your information, I attached a simple program that writes data chunk of 200KB 10,000 times to a CF card connected to the Elphel board. With this program, I have noticed maximum 3 second writing time. And I had the similar result on my Linux machine. I like to understand why it take

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-12 Thread Harry Kim
I just want to see if writing speed to a CF card can significantly change when a highest priority is assigned to my application. According to the link, it seems like I can use "renice" instead of nice for my purpose. Thanks! On Thu, Mar 12, 2015 at 5:32 PM, support-list < support-list@support.el

Re: [Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-12 Thread support-list
Hello Harry, Which process do you want to have low priority? What kind of problems do you have with insufficent CPU power? As we already found the CF card timeouts are internal to the card (I noticed similar ~3 sec timeouts with the modern SD card we use in the new 10393 camera). The internal b

[Elphel-support] Is there a way to assign a higher priority to an application on the Elphel board?

2015-03-12 Thread Harry Kim
Hello, I like to give a highest priority to an application running on the Elphel board. (against all processes running on the board.) To do this on a regular Linux machine, I can set the priority using "nice" command. For example, to assign the highest priority which -20, nice --20 ./applicatio