Author |
Message |
graysky
|
Posted: Sat Dec 20, 2008 8:08 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Nice little update... after adding the allocsize=512m to my /etc/fstab as described in the first post of this thread, check out my current frag level on my XFS /myth partition:
Code: $ ./check_frag actual 3198, ideal 3146, fragmentation factor 1.63%
It' been about six mo. since I defraged it, and the box has regular capture duties. Pretty nice ![Smile :)](./images/smilies/icon_smile.gif)
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
![](images/spacer.gif) |
Martian
|
Posted: Tue Apr 07, 2009 10:04 am |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
I recently started having frequent lock-ups of my Myth box (usually while recording or watching programs). Naturally I turned to the KnoppMyth forums!
I first checkout out the SQA tables per the Wiki page here:
http://www.knoppmythwiki.org/index.php? ... hConvergDB
which showed no problems.
Since I am using XFS for my /myth partition I decided to check fragmentation which showed greater than 99% fragmentation. I can't say that I was all that surprised, this install is getting fairly old and has seen very heavy usage.
I went ahead and let the defrag run for about 7 hours (overnight). Fragmentation when I checked the next morning was at <1% and I've not had a lock-up since (knock-on wood, cross fingers, rub lucky rabbits foot, etc...)
I'm not going to even try to speculate on how defragmenting my /myth partition could have possible cured my lock-ups but I've gone from 2+ lock-ups a day to five days lock-up free.
I guess the take home here is that if you're using XFS on your /myth partition and having issues go ahead and try a defrag and see what happens!
Thanks for taking the time to research this and write it up Graysky.
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
![](images/spacer.gif) |
graysky
|
Posted: Tue Apr 07, 2009 1:54 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Martian wrote: Since I am using XFS for my /myth partition I decided to check fragmentation which showed greater than 99% fragmentation. I can't say that I was all that surprised, this install is getting fairly old and has seen very heavy usage.
Thanks for taking the time to research this and write it up Graysky.
Glad folks are getting some mileage out of this thread and equally glad your system is stable again. Just out of curiosity, what does your /etc/fstab's entry for your /myth look like? Are you using the allocsize=512 switch? It has done wonders for my system (see my post just above your post).
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
![](images/spacer.gif) |
Martian
|
Posted: Tue Apr 07, 2009 2:05 pm |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
Yes I did use the allocsize=512 switch. It's only been about 5 days but I'll keep an eye on the fragmentation level and see how quickly (or not) it grows.
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
![](images/spacer.gif) |
graysky
|
Posted: Tue Apr 07, 2009 2:29 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Martian wrote: Yes I did use the allocsize=512 switch. It's only been about 5 days but I'll keep an eye on the fragmentation level and see how quickly (or not) it grows.
I think you'll be very pleased with results. The cool thing is that when R6 goes final, we can all just use ext4 which is rumored to rock with large and small files so no need for XFS ![Smile :)](./images/smilies/icon_smile.gif) I like it, but I don't like that fsck can't check/repair it. It's a small pain to manually run it. That said, it is an order of magnitude faster than ext3 when dealing w/ large files ![Smile :)](./images/smilies/icon_smile.gif)
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
![](images/spacer.gif) |
infinitenothing
|
Posted: Mon Jul 20, 2009 11:18 pm |
|
Joined: Sat Dec 10, 2005 3:41 pm
Posts: 62
|
telinit 1 doesn't seem to work in R6. I get this error:
Quote: telinit: /dev/initctl: No such file or directory
How does one get to single user mode?
_________________ Skill level: 10^-3
|
|
Top |
|
![](images/spacer.gif) |
Girkers
|
Posted: Sun Jul 26, 2009 7:08 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
infinitenothing wrote: telinit 1 doesn't seem to work in R6. I get this error: Quote: telinit: /dev/initctl: No such file or directory How does one get to single user mode?
I need to know this as well, as I have also tried editting the boot paramters through the grub bootloader and adding Single to the command line, but alas it does not work.
_________________ Girkers
|
|
Top |
|
![](images/spacer.gif) |
Girkers
|
Posted: Sun Jul 26, 2009 7:14 am |
|
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location:
Brisbane, Queensland, Australia
|
I was able to get in by editting the LinHES init boot line in grub and added S to the end of the line.
_________________ Girkers
|
|
Top |
|
![](images/spacer.gif) |
techman83
|
Posted: Sun Jul 26, 2009 11:33 pm |
|
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location:
Perth
|
graysky wrote: I think you'll be very pleased with results. The cool thing is that when R6 goes final, we can all just use ext4 which is rumored to rock with large and small files so no need for XFS ![Smile :)](./images/smilies/icon_smile.gif) I like it, but I don't like that fsck can't check/repair it. It's a small pain to manually run it. That said, it is an order of magnitude faster than ext3 when dealing w/ large files ![Smile :)](./images/smilies/icon_smile.gif)
Benchmarks I've seen suggest that XFS is faster for large files still. But I am using it as the primary FS on my notebook and blimey it is fast. Boot in under 30 seconds on a 2.5 year old mid range T60.
_________________ DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv
|
|
Top |
|
![](images/spacer.gif) |
nmcaullay
|
Posted: Sat Nov 28, 2009 10:13 pm |
|
Joined: Sun Sep 04, 2005 7:48 pm
Posts: 264
Location:
Perth, Australia
|
could anyone please itemise how to get into single user mode in R6? I've done the bootloader thing, but am unsure if i did it properly... thanks
_________________ LinHES: R6 | MB: Asus M3N-H/HDMI | CPU: AMD ??Mhz
Capture: 2xHDHR DVB-T
Graphics: Onboard 8300|PSU: Corsair vx450w
Cooling: Zalman cu?,
Display: Benq xx projector
|
|
Top |
|
![](images/spacer.gif) |
graysky
|
Posted: Sun Nov 29, 2009 4:38 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
You can omit that step really. I dunno how to do it in R6 btw.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
![](images/spacer.gif) |