DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th January 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default system resources

while I'm here today I have some general questions about how openbsd handles system resources.
I ask this because when I play a cd with cdio the music often halts for a moment (I guess while reading the disk), is this because my cd drive is not fast enough? (I have openbsd 4.3 on a macmini ppc g4 1.25mgz with 1g of ram).
Also, mplayer complains about my system being to slow for playing dvds and if I play a movie file it sometimes slows down.
I remember also postgres complaining about not having enough resources, but I think that was when I only had 256m of ram.
I recently increased the number of processes allowed per user, and it goes a bit better.

In a word, what else can I do to avoid these problems? Or is it just that I have a slow machine?
Reply With Quote
  #2   (View Single Post)  
Old 29th January 2009
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

I have never seen problems with CD playing even on PII 333MHz and 128 Mb of RAM-a.
I watched DVDs with Ogle on PIII with 500MHz and 256Mb of RAM. The picture would freeze for a split of a second very rarely but I believe that was because of very old video card.
I have never run OpenBSD on MAC PPC so I wonder if it has to do with the architecture?
It is true though that if you are listening MP3 and lunch Firefox the sound would stop for a split of a second.
Reply With Quote
  #3   (View Single Post)  
Old 29th January 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by gosha View Post
...what else can I do...?
You can use the -cache feature of mplayer to buffer input.
Reply With Quote
  #4   (View Single Post)  
Old 29th January 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default

the -cache option helps with files, but with real dvds xine seems to behave much better
tks
Reply With Quote
  #5   (View Single Post)  
Old 29th January 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

First of all, I would update to 4.4 ASAP, but that's just a personal opinion.

As for cdio(1) playback issues, it could be many things..
  • Using the cdplay command instead of the play command..
  • A scratched CD..
Most CD-ROM drives have a built-in firmware command that plays CD tracks, perhaps you noticed a small 3/4 wire cable between the drive and your soundcard/motherboard?

That command uses no resources, cdplay digitally extracts tracks.. this does take time and resources.

As for DVD's, I also recommend Ogle.. unfortunately, it doesn't always work.. and it cannot deinterlace video.

Hope it helps.
Reply With Quote
  #6   (View Single Post)  
Old 29th January 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default

in fact I use "cdplay", but that's because I could never make "play" to work, it just stops without even starting to play.
Reply With Quote
  #7   (View Single Post)  
Old 29th January 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The only other options are..
  • Use a different player.. something that will cache the content..
  • Use the cdrip functionality of cdio(1), play the audo from your hard drive.
Also, as for video/dvd.. consider increasing kern.shminfo.shmall to 32768 as recommended by a few ports.

(That won't be necessary in 4.5, was bumped recently.)
Reply With Quote
  #8   (View Single Post)  
Old 30th January 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default

Thanks, I know about cdrip, I think I shall go with that. Otherwise, what other players do you recommend? Xmms doesn't seem to be able to directly play cds, or am I wrong?
My kern.shminfo.shmmax is already as high as 50331648, otherwise postgres wouldn't initdb.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Math resources ephemera Off-Topic 16 3rd April 2009 12:06 PM
looking for good ipfw resources dk_netsvil General software and network 0 15th August 2008 04:05 PM
Which file system use to share data on Bsd system? aleunix Other BSD and UNIX/UNIX-like 2 1st June 2008 04:14 PM
Book Resources for FreeBSD psychotux FreeBSD General 7 15th May 2008 11:44 AM
BSD firewall resources J65nko Guides 0 4th May 2008 11:05 PM


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick