Re: Record activity performance

2011-01-13 Thread Sridhar Dhanapalan
On 24 December 2010 12:03, Sridhar Dhanapalan srid...@laptop.org.au wrote:
 On 24 December 2010 11:12, James Cameron qu...@laptop.org wrote:
 On Fri, Dec 24, 2010 at 10:36:56AM +1100, Sridhar Dhanapalan wrote:
 The project pages for those activities are:
   https://dev.laptop.org.au/projects/musicpainter
   https://dev.laptop.org.au/projects/image-thumbnail

 Any chance of supporting http:// as well as https:// ?  The extra few
 packets required by the SSL negotiation combined with rural and remote
 network latency makes visiting these URLs painful.

 Interesting, I didn't consider that. We actually forced https by
 default because we thought users would appreciate some enforced
 security.

 I'll see what we can do.

http://dev.laptop.org.au no longer uses SSL (use https if you want
it). Can you please give it a go and tell me if it does/doesn't make
an improvement? If not, we can revert to forcing SSL.

Thanks,
Sridhar
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Record activity performance

2011-01-13 Thread James Cameron
On Fri, Jan 14, 2011 at 09:04:11AM +1100, Sridhar Dhanapalan wrote:
 http://dev.laptop.org.au no longer uses SSL (use https if you want
 it). Can you please give it a go and tell me if it does/doesn't make
 an improvement? If not, we can revert to forcing SSL.

It makes an improvement.

Tested on an idle HSDPA link, with 247ms average latency to
dev.laptop.org.au.  (Other users on satellite would notice even stronger
improvement).

Page load times in Firefox, with empty cache, using scripted activation:

http://dev.laptop.org.au/  about one second
https://dev.laptop.org.au/  about four seconds

With cache:

http://dev.laptop.org.au/  about one second
https://dev.laptop.org.au/  about three seconds

Fetch of only the base page without images, using curl:

http://dev.laptop.org.au/  avg 1.14 sec, std dev 0.43
https://dev.laptop.org.au/  avg 1.48 sec, std dev 0.74

(I did see strange delays on firefox force reload of
http://dev.laptop.org.au/issues/106 but they do not occur with curl, so
I suspect there's a strange thing happening with an image somewhere,
probably the http://secure.gravatar.com/ one.)

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Record activity performance

2011-01-06 Thread Sridhar Dhanapalan
On 24 December 2010 10:36, Sridhar Dhanapalan srid...@laptop.org.au wrote:
 On 23 December 2010 17:10, James Cameron qu...@laptop.org wrote:
 On Thu, Dec 23, 2010 at 04:53:26PM +1100, Sridhar Dhanapalan wrote:
 Firstly, I tried Record after having used the XO with various
 activities (Musicpainter, Image Thumbnail, etc.) and closed them
 (leaving nothing else running). Recording in Low for 2 min appeared to
 work, but playback gave no sound, and it paused after about 10
 seconds.

 That's interesting.  I've not heard about that.  What version of those
 activities?  Where do you get Musicpainter from?  I can't see it at
 activities.sugarlabs.org.  Nor can I see anything called Thumbnail.

 If these activities change the mixer controls at all then this may lead
 to the no sound symptom you describe.

 Musicpainter and Image Thumbnail are new activities created by us,
 which we haven't yet fully released (I haven't submitted them to ASLO
 yet). I'm now suspecting that the Musicpainter is the culprit, so
 that's our problem to investigate.

 The project pages for those activities are:
  https://dev.laptop.org.au/projects/musicpainter
  https://dev.laptop.org.au/projects/image-thumbnail

I've seen this happen with no other activities having been run, so
it's not related to Musicpainter or Image Thumbnail.

I tried with on an XO with 10.1.2:

  1. boot the XO
  2. load Record
  3. record some video
  4. play back the video

I expected the video to be played back with full audio and video. What
I saw is playback for a few seconds, then it halts.

I'm having trouble reproducing. It seems to happen only on odd
occasions. I'll keep investigating.

Sridhar
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Record activity performance

2010-12-23 Thread Benjamin M. Schwartz
Just so everyone knows, there have recently been major speedups in the
Theora encoder (libtheora), which is a bottleneck for Record performance.
 These speedups are available in version 1.2-alpha1, which (despite the
name) is the recommended version for all but the most conservative
applications.  It has zero known bugs and is ABI-compatible with all
preceding versions.

http://downloads.xiph.org/releases/theora/libtheora-1.2.0alpha1.tar.gz

I don't know how to get new versions of things into OLPC builds, but if
people are interested in Record performance this is probably worthwhile.
Version 1.2alpha1 at speed-level 2 should be faster and better than what
is currently in use.

--Ben



signature.asc
Description: OpenPGP digital signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Record activity performance

2010-12-23 Thread Sridhar Dhanapalan
On 23 December 2010 17:10, James Cameron qu...@laptop.org wrote:
 On Thu, Dec 23, 2010 at 04:53:26PM +1100, Sridhar Dhanapalan wrote:
 Firstly, I tried Record after having used the XO with various
 activities (Musicpainter, Image Thumbnail, etc.) and closed them
 (leaving nothing else running). Recording in Low for 2 min appeared to
 work, but playback gave no sound, and it paused after about 10
 seconds.

 That's interesting.  I've not heard about that.  What version of those
 activities?  Where do you get Musicpainter from?  I can't see it at
 activities.sugarlabs.org.  Nor can I see anything called Thumbnail.

 If these activities change the mixer controls at all then this may lead
 to the no sound symptom you describe.

Musicpainter and Image Thumbnail are new activities created by us,
which we haven't yet fully released (I haven't submitted them to ASLO
yet). I'm now suspecting that the Musicpainter is the culprit, so
that's our problem to investigate.

The project pages for those activities are:
  https://dev.laptop.org.au/projects/musicpainter
  https://dev.laptop.org.au/projects/image-thumbnail

 Restarting the XO, I ran Record again. Playback of the video was fine.
 Then I recorded a 2 min video in High quality. Fast movement, etc.
 seemed okay until the final ~30 seconds. At this point, the screen
 updated very slowly. I reduced the image complexity so that it was
 able to catch up by the end.

 Playing back the High quality video gave me what I had seen on the
 screen when recording, i.e. it was fine until about 30 secs remaining.
 Then the frame rate slowed to a crawl. Audio continued to be smooth
 despite the video. The video was fine by the final few seconds, in
 sync with the audio.

 We're tracking this here: https://dev.laptop.org.au/issues/86

 Does anyone have any ideas on what can be done to address this?

 Everything else you said above, apart from the no sound symptom,
 matches what we placed in the release notes for 10.1.2.

 http://wiki.laptop.org/go/Release_notes/10.1.2#Record_activity_video_recording_may_pause

Reading that again, yes it does match. I didn't think the scene was
very complex, but I think the last sentence adequately explains the
behaviour: In this release the frame rate is kept as fast as possible
until the pause is unavoidable.

 What class SD card are you using?

Class 2. I've been informed that Quanta do not offer anything faster,
as none meet durability requirements.

 Since the version of Record has not changed between 10.1.2 and 10.1.3,
 it is expected that the same problem will affect 10.1.3.

 It sounds like High quality may need removing temporarily if this
 problem isn't fixed.

I was thinking that. Unfortunately this bug makes Record look 'broken'
to a lot of people, and it doesn't create a good perception of the
XOs.

I was thinking of releasing our own version with High disabled in
hw.py (just as Best is), but thought it better to discuss here first.


Cheers,
Sridhar
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Record activity performance

2010-12-23 Thread James Cameron
On Fri, Dec 24, 2010 at 10:36:56AM +1100, Sridhar Dhanapalan wrote:
 The project pages for those activities are:
   https://dev.laptop.org.au/projects/musicpainter
   https://dev.laptop.org.au/projects/image-thumbnail

Any chance of supporting http:// as well as https:// ?  The extra few
packets required by the SSL negotiation combined with rural and remote
network latency makes visiting these URLs painful.

 I was thinking that. Unfortunately this bug makes Record look 'broken'
 to a lot of people, and it doesn't create a good perception of the
 XOs.
 
 I was thinking of releasing our own version with High disabled in
 hw.py (just as Best is), but thought it better to discuss here first.

Sounds like a reasonable idea, unless you see some development
happening.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Record activity performance

2010-12-23 Thread Sridhar Dhanapalan
On 24 December 2010 11:12, James Cameron qu...@laptop.org wrote:
 On Fri, Dec 24, 2010 at 10:36:56AM +1100, Sridhar Dhanapalan wrote:
 The project pages for those activities are:
   https://dev.laptop.org.au/projects/musicpainter
   https://dev.laptop.org.au/projects/image-thumbnail

 Any chance of supporting http:// as well as https:// ?  The extra few
 packets required by the SSL negotiation combined with rural and remote
 network latency makes visiting these URLs painful.

Interesting, I didn't consider that. We actually forced https by
default because we thought users would appreciate some enforced
security.

I'll see what we can do.

Sridhar
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Record activity performance

2010-12-22 Thread Sridhar Dhanapalan
I'm not sure if this should go to olpc devel or sugar devel, so I'm
just sending it here for now.

Record-86 is much better than it used to be, but we're still seeing
some problems with recording and playback on 10.1.2 on our XO-1.5s.

Firstly, I tried Record after having used the XO with various
activities (Musicpainter, Image Thumbnail, etc.) and closed them
(leaving nothing else running). Recording in Low for 2 min appeared to
work, but playback gave no sound, and it paused after about 10
seconds.

Restarting the XO, I ran Record again. Playback of the video was fine.
Then I recorded a 2 min video in High quality. Fast movement, etc.
seemed okay until the final ~30 seconds. At this point, the screen
updated very slowly. I reduced the image complexity so that it was
able to catch up by the end.

Playing back the High quality video gave me what I had seen on the
screen when recording, i.e. it was fine until about 30 secs remaining.
Then the frame rate slowed to a crawl. Audio continued to be smooth
despite the video. The video was fine by the final few seconds, in
sync with the audio.

We're tracking this here: https://dev.laptop.org.au/issues/86

Does anyone have any ideas on what can be done to address this?

Cheers,
Sridhar


Sridhar Dhanapalan
Technical Manager
One Laptop per Child Australia
M: +61 425 239 701
E: srid...@laptop.org.au
A: G.P.O. Box 731
     Sydney, NSW 2001
W: www.laptop.org.au
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Record activity performance

2010-12-22 Thread James Cameron
On Thu, Dec 23, 2010 at 04:53:26PM +1100, Sridhar Dhanapalan wrote:
 I'm not sure if this should go to olpc devel or sugar devel, so I'm
 just sending it here for now.
 
 Record-86 is much better than it used to be, but we're still seeing
 some problems with recording and playback on 10.1.2 on our XO-1.5s.
 
 Firstly, I tried Record after having used the XO with various
 activities (Musicpainter, Image Thumbnail, etc.) and closed them
 (leaving nothing else running). Recording in Low for 2 min appeared to
 work, but playback gave no sound, and it paused after about 10
 seconds.

That's interesting.  I've not heard about that.  What version of those
activities?  Where do you get Musicpainter from?  I can't see it at
activities.sugarlabs.org.  Nor can I see anything called Thumbnail.

If these activities change the mixer controls at all then this may lead
to the no sound symptom you describe.

 Restarting the XO, I ran Record again. Playback of the video was fine.
 Then I recorded a 2 min video in High quality. Fast movement, etc.
 seemed okay until the final ~30 seconds. At this point, the screen
 updated very slowly. I reduced the image complexity so that it was
 able to catch up by the end.
 
 Playing back the High quality video gave me what I had seen on the
 screen when recording, i.e. it was fine until about 30 secs remaining.
 Then the frame rate slowed to a crawl. Audio continued to be smooth
 despite the video. The video was fine by the final few seconds, in
 sync with the audio.
 
 We're tracking this here: https://dev.laptop.org.au/issues/86
 
 Does anyone have any ideas on what can be done to address this?

Everything else you said above, apart from the no sound symptom,
matches what we placed in the release notes for 10.1.2.

http://wiki.laptop.org/go/Release_notes/10.1.2#Record_activity_video_recording_may_pause

What class SD card are you using?

Since the version of Record has not changed between 10.1.2 and 10.1.3,
it is expected that the same problem will affect 10.1.3.

It sounds like High quality may need removing temporarily if this
problem isn't fixed.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel