Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Swap activated but never used

  1. #11
    Join Date
    Oct 2008
    Beans
    323
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Swap activated but never used

    so are you actually sure your memory issue is causing the video problem? (whats your memory load when watching?)
    i dont really see how swap would help though, if video is on swap, it will still be slow to load into RAM.

  2. #12
    Join Date
    Jan 2005
    Location
    Lexington, Kentucky
    Beans
    150
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Swap activated but never used

    Quote Originally Posted by cholericfun View Post
    so are you actually sure your memory issue is causing the video problem? (whats your memory load when watching?)
    i dont really see how swap would help though, if video is on swap, it will still be slow to load into RAM.
    No, I'm not sure. I just couldn't think of anything else that could cause that problem, and I just happened to notice the swap partition completely unused while troubleshooting that problem.

    The video on the swap partition while watching it would be a problem. However the swap partition would be a great place to put everything else while the video gets free roam of a good chunk of ram.

    I'm open to other explanations regarding my video problem. I could very well be completely mistaken regarding the swap thing. It just seemed logical to me that the video was taking up too much ram and all the background stuff that I was not immediately using at the time was not being swapped as it should.

    I'll load up a video in a few minutes and have a look at /proc/meminfo and return with results.

  3. #13
    Join Date
    Feb 2009
    Location
    Baja Oklahoma
    Beans
    1,652

    Re: Swap activated but never used

    A slow internet connection is a frequent cause of stutter. This could be from general internet congestion or from a more localized problem, either at the server or your end. Assuming the videos are flash, are you using the Adobe plugin, or the freeware one?

  4. #14
    Join Date
    Jan 2005
    Location
    Lexington, Kentucky
    Beans
    150
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Swap activated but never used

    Not flash, or anything streamed over the net. It's just a standard xvid mpeg 4 on my harddrive.

  5. #15
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Swap activated but never used

    SMplayer has a cache setting. You could try tweaking that. In any case, this sounds like a video player problem more than a Linux kernel problem.
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  6. #16
    Join Date
    Feb 2009
    Location
    Baja Oklahoma
    Beans
    1,652

    Re: Swap activated but never used

    What player are you using for the videos? Some are better than others.

  7. #17
    Join Date
    Jan 2005
    Location
    Lexington, Kentucky
    Beans
    150
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Swap activated but never used

    Quote Originally Posted by sgosnell View Post
    What player are you using for the videos? Some are better than others.
    I've attempted Totem, MPlayer (with a few different settings changed), Xine, VLC, and probably some others. All the same problem.

    MPlayer handled it better though. It tried to fix it and catch the frames back up to the audio, but it didn't really work very well.

    I just gave it a shot about an hour ago and couldn't reproduce it, but this is under different circumstances. In this situation I had closed Chromium, had compcache 0.6 enabled with my swap partition as a backing swap, and exactly half as memlimit_kb. I am also now running a kernel with BFS by Con Kolivas patched in, and Totem was set to SCHED_ISO.

    This seems to be working alright for me so far, I'll check some of the shows I've already watched later on and see if it's still a problem. I'll even leave Chromium open.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •