At 02:31 PM 9/8/2005, you wrote:
>
> At 01:47 PM 9/8/2005, you wrote:
>
> > >
> > > What happens if you do cat /dev/video0 > /dev/null instead of
> movie.mpg.
> > > This
> > > will tell us if it's some hard drive or I/O (dma maybe) issue. At
> least
> > > that's
> > > my theory.
> > >
> > > --Brian
> >
> >Brian, your theory seems good. The problem doesn't seem to appear when I
> do
> >this.
> >
> >I know Linux doesn't really have defrag utilities because it supposedly
> >doesn't need them (well, that's not entirely true, I know there's at
> least
> >one commercial one). So what can I do here to diagnose the exactly
> problem
> >and hopefully fix it?
>
> have you run top to see your memory usage when you're seeing the problem?
> That will tell you what's using the CPU as well as if memory is fully used
> and you're swapping badly

How can I tell if I'm "swapping badly?"

See if swap space is utilized and check for processes going into SW (swap
wait) mode/state


I used top to determine that the "cat" process is using 40-50% CPU when the
problem occurs. As for memory usage, 1004 SZ and 416 RSS which is pretty
insignificant considering the machine has 1GB of RAM.

Also, having other programs that consume lots of ram or even CPU seem to
have no effect. Whether they're running or not, the problem occurs just as
frequently. I don't think the issue is so much swapping as a file system
issue writing out the 1-2MB/sec of data for some reason. But I'm just
guessing at this point.

Pete





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to