LinHES Forums
http://forum.linhes.org/

Added more ram, now video playback stutters
http://forum.linhes.org/viewtopic.php?f=2&t=10517
Page 1 of 1

Author:  andyem [ Sat Jun 17, 2006 12:23 pm ]
Post subject:  Added more ram, now video playback stutters

I went out and bought new ram and upgraded my server from 256MB to 512mb. I replaced both 128MB sticks for 2 256mb sticks and the video playback is now stuttering. I have checked dma and all settings are correct and I have even updated bootmisc.sh with the hard drive parameters suggested on the wiki.
# enable DMA
/sbin/hdparm -qd1c1u1m16 /dev/hda
/sbin/hdparm -qd1c1u1 /dev/hdc
/sbin/hdparm -qd1c1u1m16 /dev/hdb

I have checked the ram with xmem86 and everything is perfect with the ram. I am also using bobs 2X with deinterlace and also opengl snyc timing.

The part that is really baffling me is what top is now showing:

top - 14:20:59 up 1:16, 2 users, load average: 4.64, 4.23, 3.98
Tasks: 101 total, 1 running, 100 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.8% us, 3.8% sy, 26.2% ni, 1.0% id, 66.2% wa, 0.0% hi, 0.0% si
Mem: 383852k total, 378648k used, 5204k free, 1352k buffers
Swap: 1180768k total, 0k used, 1180768k free, 173680k cached

Are there parameters I need to update within the kernel to tell it I have gone from 256mb to 512mb? I assume this is done automatcally.

I notice when checking processes that I have duplicates on some things and I dont know if its becuase I have dual processors:

Code:
ps -A
  PID TTY          TIME CMD
    1 ?        00:00:04 init
    2 ?        00:00:00 migration/0
    3 ?        00:00:00 ksoftirqd/0
    4 ?        00:00:00 watchdog/0
    5 ?        00:00:00 migration/1
    6 ?        00:00:00 ksoftirqd/1
    7 ?        00:00:00 watchdog/1
    8 ?        00:00:00 events/0
    9 ?        00:00:00 events/1
   10 ?        00:00:00 khelper
   11 ?        00:00:00 kthread
   14 ?        00:00:10 kblockd/0
   15 ?        00:00:01 kblockd/1
   16 ?        00:00:00 kacpid
  107 ?        00:00:00 pdflush
  108 ?        00:00:00 pdflush
  110 ?        00:00:00 aio/0
  111 ?        00:00:00 aio/1
  109 ?        00:00:12 kswapd0
  112 ?        00:00:00 jfsIO
  113 ?        00:00:00 jfsCommit
  114 ?        00:00:00 jfsCommit
  115 ?        00:00:00 jfsSync
  116 ?        00:00:00 xfslogd/0
  117 ?        00:00:00 xfslogd/1
  118 ?        00:00:00 xfsdatad/0
  119 ?        00:00:00 xfsdatad/1
  120 ?        00:00:00 xfsbufd
  707 ?        00:00:00 kseriod
  774 ?        00:00:00 ata/0
  775 ?        00:00:00 ata/1
  790 ?        00:00:00 kcryptd/0
  791 ?        00:00:00 kcryptd/1
  792 ?        00:00:00 kmirrord
  793 ?        00:00:00 kirqd
  797 ?        00:00:01 kjournald
 1037 ?        00:00:00 khubd
 1111 ?        00:00:00 khpsbpkt
 1963 ?        00:00:03 kjournald
 2032 ?        00:00:00 portmap
 2151 ?        00:00:00 lircd
 2308 ?        00:00:00 syslogd
 2317 ?        00:00:00 klogd
 2344 ?        00:00:00 apache
 2355 ?        00:00:00 apache
 2356 ?        00:00:00 apache
 2357 ?        00:00:00 apache
 2358 ?        00:00:00 apache
 2359 ?        00:00:00 apache
 2360 ?        00:00:00 inetd
 2879 ?        00:00:00 mysqld_safe
 2939 ?        00:00:24 mysqld
 2940 ?        00:00:00 logger
 2972 ?        00:00:00 rpc.statd
 3006 ?        00:00:00 nfsd4
 3011 ?        00:00:00 nfsd
 3010 ?        00:00:00 nfsd
 3009 ?        00:00:00 nfsd
 3008 ?        00:00:00 nfsd
 3007 ?        00:00:00 nfsd
 3014 ?        00:00:00 nfsd
 3013 ?        00:00:00 nfsd
 3016 ?        00:00:00 lockd
 3017 ?        00:00:00 rpciod/0
 3018 ?        00:00:00 rpciod/1
 3012 ?        00:00:00 nfsd
 3021 ?        00:00:00 rpc.mountd
 3030 ?        00:00:00 nmbd
 [b]3056 ?        00:00:00 ivtv_vbi/0
 3057 ?        00:00:00 ivtv_vbi/1[/b]
 3058 ?        00:00:00 ivtv_fw/0
 3059 ?        00:00:00 ivtv_fw/1
 3083 ?        00:00:00 msp34xx
 3128 ?        00:00:04 ivtv-enc
 3129 ?        00:01:18 ivtv-enc-vbi
 3155 ?        00:00:00 sshd
 3386 ?        00:00:00 shpchpd_event
 3678 ?        00:00:00 automount
 3693 ?        00:10:37 mythbackend
 3702 ?        00:00:00 ntpd
 3712 ?        00:00:00 atd
 3721 ?        00:00:00 cron
 3876 ?        00:00:07 XFree86
 3884 tty1     00:00:00 getty
 3885 tty2     00:00:00 getty
 3886 tty3     00:00:00 getty
 3887 tty4     00:00:00 getty
 3888 tty5     00:00:00 getty
 3890 tty6     00:00:00 getty
 3980 ?        00:00:01 x-window-manage
 4020 ?        00:00:00 ssh-agent
 4022 ?        00:00:17 mythfrontend
 4316 ?        00:00:00 sshd
 4319 ?        00:00:00 sshd
 4320 ttyp0    00:00:01 bash
 4368 ttyp0    00:00:00 bash
 4380 ?        00:03:09 mythcommflag
 4391 ttyp0    00:00:00 ps

Author:  nigelpearson [ Sat Jun 17, 2006 8:33 pm ]
Post subject: 

383MB. That is a bit strange. Are you sure you don't have one 256 and one 128 in there? (e.g. the shop or factory may have messed up so check the part numbers on the RAM chips)

Here is what my top shows with a 512MB and a 256MB DIMM:
Code:
top - 12:24:45 up 8 days, 23:37,  3 users,  load average: 1.43, 1.46, 1.27
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3% us,  4.0% sy, 95.4% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.3% si
Mem:    773184k total,   653364k used,   119820k free,     6632k buffers
Swap:   396136k total,        0k used,   396136k free,   308584k cached


Other things to check:
Code:
cat /proc/meminfo
ls -l /proc/kcore

Author:  andyem [ Sat Jun 17, 2006 9:34 pm ]
Post subject: 

Well the chip says 256 but its running as a 128MB. Ive disabled commercial flagging and now I'll be running it for a few days to see if anything improves.

Author:  andyem [ Sat Jun 17, 2006 9:38 pm ]
Post subject: 

LOL i just checked my machine again during a record without commflag and here is top now.

top - 23:35:59 up 7:05, 2 users, load average: 0.10, 0.16, 0.16
Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3% us, 4.8% sy, 0.0% ni, 92.2% id, 1.7% wa, 0.0% hi, 0.0% si
Mem: 383852k total, 378808k used, 5044k free, 4872k buffers
Swap: 1180768k total, 0k used, 1180768k free, 261372k cached

Wow the guys werent kidding that commflagging is crap. I havent seen load averages this low in a while. I guess issue resolvfed so far.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/