Re: Real-Time Video Recording (ionice equivalent)
On Tue, Jul 27, 2010 at 1:45 PM, Debacker deback...@gmail.com wrote: Hi, I'm looking for a ionice equivalent for FreeBSD. Let suppose that I setup a NAS using FreeBSD. I can substain 50MiB/s writing. Let suppose that I have a 720p security camera, writing at 2 MiB/s in a file. Then I have 10 users copying files around. All of this activity (camera + users) through Samba, so each connection has a dedicated process. Problem is that I want to give camera's maximal priority to guarantee smooth recording. I don't expect Samba to use much CPU, 99% should be spent in IO. So if I set the nice value of camera's process to Real-Time, it should do much, because its process will be on wait status most of the time. Consequently, when some IO requests coming from camera's process are in the queue, I want them to have top priority compared to requests coming from other processes. As the camera is limited to 2MiB/s, I expect the system to remain responsive. I know that seeks may lower the speed of the HDD, but as the HDD is slowing down, completing requests, I expect the number of camera IO requests to increase in the queue, and to be packed together, hopefully, stabilizing the number of seeks. BTW, I would use root preexec setting of Samba to execute a shell script for each new connection, giving best priority to the process if the user is camera. Any idea? Thanks Laurent Debacker Would putting the camera's storage space on a separate HDD from the other users help? Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Real-Time Video Recording (ionice equivalent)
Of course, just like you could put real-time processes in one CPU, and normal processes on another to avoid implement complex algorithms. While your solution is pragmatic, I would like to know if there are clean ways to do it. If not, this would be a documented use case to why would anyone actually need an I/O scheduler. Laurent On Tue, Jul 27, 2010 at 9:23 PM, Andrew Gould andrewlylego...@gmail.comwrote: On Tue, Jul 27, 2010 at 1:45 PM, Debacker deback...@gmail.com wrote: Hi, I'm looking for a ionice equivalent for FreeBSD. Let suppose that I setup a NAS using FreeBSD. I can substain 50MiB/s writing. Let suppose that I have a 720p security camera, writing at 2 MiB/s in a file. Then I have 10 users copying files around. All of this activity (camera + users) through Samba, so each connection has a dedicated process. Problem is that I want to give camera's maximal priority to guarantee smooth recording. I don't expect Samba to use much CPU, 99% should be spent in IO. So if I set the nice value of camera's process to Real-Time, it should do much, because its process will be on wait status most of the time. Consequently, when some IO requests coming from camera's process are in the queue, I want them to have top priority compared to requests coming from other processes. As the camera is limited to 2MiB/s, I expect the system to remain responsive. I know that seeks may lower the speed of the HDD, but as the HDD is slowing down, completing requests, I expect the number of camera IO requests to increase in the queue, and to be packed together, hopefully, stabilizing the number of seeks. BTW, I would use root preexec setting of Samba to execute a shell script for each new connection, giving best priority to the process if the user is camera. Any idea? Thanks Laurent Debacker Would putting the camera's storage space on a separate HDD from the other users help? Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Real-Time Video Recording (ionice equivalent)
On Tue, Jul 27, 2010 at 2:29 PM, Debacker deback...@gmail.com wrote: Of course, just like you could put real-time processes in one CPU, and normal processes on another to avoid implement complex algorithms. While your solution is pragmatic, I would like to know if there are clean ways to do it. If not, this would be a documented use case to why would anyone actually need an I/O scheduler. First, top-posting on this list is considered rude. Please don't do that. If you're running 8.1, try man gsched, it's new and haven't tried it. Other than that, the traditional way would be to give higher priority to the process that needs it. It's the poor man's io scheduler, but it generally does work well. If you have lots of concurrent io and are running a UFS file-system, consider running gjournal as it scales those requests better. Also if you're hardware supports it, NCQ is available via the ahci and a few other modules. It will make your requests more efficient. -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Real-Time Video Recording (ionice equivalent)
On Tue, Jul 27, 2010 at 10:52 PM, Adam Vande More amvandem...@gmail.comwrote: On Tue, Jul 27, 2010 at 2:29 PM, Debacker deback...@gmail.com wrote: Of course, just like you could put real-time processes in one CPU, and normal processes on another to avoid implement complex algorithms. While your solution is pragmatic, I would like to know if there are clean ways to do it. If not, this would be a documented use case to why would anyone actually need an I/O scheduler. First, top-posting on this list is considered rude. Please don't do that. Sorry, I didn't want to hurt anyone, I just didn't know the traditions of this mailing-list, I'll be careful from now on. If you're running 8.1, try man gsched, it's new and haven't tried it. Excellent! I can use 8.1, it's for a new setup. Other than that, the traditional way would be to give higher priority to the process that needs it. It's the poor man's io scheduler, but it generally does work well. If you have lots of concurrent io and are running a UFS file-system, consider running gjournal as it scales those requests better. Also if you're hardware supports it, NCQ is available via the ahci and a few other modules. It will make your requests more efficient. Thank you for your tips. I'm happy that I will be able to use FreeBSD for this job. Laurent Debacker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
Will rsync not work? - Original Message - From: owner-freebsd-questi...@freebsd.org owner-freebsd-questi...@freebsd.org To: freebsd-questions freebsd-questions@freebsd.org Sent: Thu May 20 09:12:47 2010 Subject: real time files mirroring ? Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/05/2010 15:12:47, Frank Bonnet wrote: I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. That's actually a very hard problem if you really need /real time/ mirroring. If you can stand a delay of a few minutes for changes to propagate, then simply running rsync(1) in a cron job should do -- it's simple to set up, robust and probably quite a lot faster than you expect. You will have to handle any issues to do with file locking and having postfix close and reopen any descriptors on those files if necessary. Otherwise, there are two strategies to consider: * Use a network mounted filesystem. This can work like a charm, or it can be a complete nightmare depending on what postfix needs to do with the shared files. Locking and exclusive access tends to be a problem. You'ld need to look at something like HAST if you want a resilient solution, or your fileserver will be a single point of failure. * Use a network database -- in this case, I'd think LDAP would be a good choice. This is pretty fast in operation, and you can make it resilient pretty easily by replicating the database. Downside is extra work when setting everything up. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkv1R84ACgkQ8Mjk52CukIx/QQCeM042jig7+Ux0PKMuidRjudsN w2QAnAn2KLJEW3zh0ElPM2xTd9ESmxQE =wpzh -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
On 20/05/2010 15:12, Frank Bonnet wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. HAST (http://wiki.freebsd.org/HAST in -STABLE now.) or ggate sound like your best bet, although they could be overkill for a few files. you could put something together with sysutils/wait_on and rsync that would probably do. Vince Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
You may want to wait for HAST : http://wiki.freebsd.org/HAST .. I think it has been merged to HEAD .. regards, Julien Frank Bonnet wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
On Thu, May 20, 2010 at 9:12 AM, Frank Bonnet f.bon...@esiee.fr wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Back in 2008, Ivan Voras wrote a rather simple daemon that fits this need: http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/ http://ivoras.sharanet.org/stuff/adfs.tgz I'm not sure about the status of the code (in regard to compiling and working with 8.x or HEAD), but it's worth a shot. I remember trying it out last year and it worked well for the small-ish project I had going. Ivan may have an informed comment or two to provide as well... -Brandon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
Thanks for your answers guys ! I'm gonna test all softwares you pointed on On 05/20/10 16:12, Frank Bonnet wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: real time files mirroring ?
On 20 May 2010 16:53, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Thu, May 20, 2010 at 9:12 AM, Frank Bonnet f.bon...@esiee.fr wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Back in 2008, Ivan Voras wrote a rather simple daemon that fits this need: http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/ http://ivoras.sharanet.org/stuff/adfs.tgz I'm not sure about the status of the code (in regard to compiling and working with 8.x or HEAD), but it's worth a shot. I remember trying it out last year and it worked well for the small-ish project I had going. Ivan may have an informed comment or two to provide as well... I am still interested in the subject and hope to one day find enough free time to actually create something usable. Adfs was an experiment and it showed that it couldn't be done the way I wanted it. It was supposed to be rsync assisted by kqueue file events to detect changes but, among other things, change detection isn't a very demanding part of rsyncing files. In short, rsync in cron would do much better. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Real-Time traffic monitor?
Eric F Crist wrote: Hey all, I've got a fairly heavy-duty machine doing firewalling for my network, and the VAST majority of it's processing power is going unused. As such, I'd like to put X on this box, attach a monitor, and display a series of real-time traffic graphs. Does anyone know what the best software to use for this would be? not sure about X programs but there is always iftop or pktstat in ports/net-mgmt if you just want something realtime (no good for graphing etc though i'm afraid.) Some of the the plugins for things like sysutils/gkrellm(2) do things like traffic graphs but you really dont want them on a firewall. If you dont need absolute realtime then just enable bsnmp on the internal interface and run something like mrtg or cacti (or even a very quick and dirty script using rrdtool via cron) against it. Vince Thanks! - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-Time traffic monitor?
On Thu, Aug 16, 2007 at 01:03:54PM -0500, Eric F Crist wrote: Hey all, I've got a fairly heavy-duty machine doing firewalling for my network, and the VAST majority of it's processing power is going unused. As such, I'd like to put X on this box, attach a monitor, and display a series of real-time traffic graphs. Does anyone know what the best software to use for this would be? For collecting data, I use pfstat. With a perl script and gnuplot I create graphs from that data. With telak (http://julien.danjou.info/telak.html) I put those graphs on the root window. See http://www.xs4all.nl/~rsmith/freebsd/index.html#monitor Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp0QBG9Xdaar.pgp Description: PGP signature
Re: Real-Time traffic monitor?
In response to Eric F Crist [EMAIL PROTECTED]: Hey all, I've got a fairly heavy-duty machine doing firewalling for my network, and the VAST majority of it's processing power is going unused. As such, I'd like to put X on this box, attach a monitor, and display a series of real-time traffic graphs. Does anyone know what the best software to use for this would be? You have lots of choices: MRTG, Cacti, SmokePing, ntop are some that I've used that come to mind. Which one is best really depends on you and your situation. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-Time traffic monitor?
On 8/16/07, Eric F Crist [EMAIL PROTECTED] wrote: Hey all, I've got a fairly heavy-duty machine doing firewalling for my network, and the VAST majority of it's processing power is going unused. As such, I'd like to put X on this box, attach a monitor, and display a series of real-time traffic graphs. Does anyone know what the best software to use for this would be? I wouldn't put anything on it that isn't directly related to its mission. At most, I'd suggest putting net-snmp on it, denying access from the untrusted side(s), and polling the box with mrtg/cacti/nagios from another machine. Better, I think would be to put ntop on another machine and mirror the port to which the firewall is attached. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time File Replication ... or close to it ...
Marc G. Fournier wrote: Does anyone know of any work being done with FreeBSD to do the above? I know about ggate/gmirror, but that is at the file system / kernel level ... I'd like to do something at the userland level, or something that combines the two ... I have TDFS (http://tdfs.sourceforge.net/) and a Google SoC proposal for either/both TDFS and a kernel-level module. signature.asc Description: OpenPGP digital signature
Re: Real-time File Replication ... or close to it ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Sunday, March 25, 2007 19:23:48 +0200 Ivan Voras [EMAIL PROTECTED] wrote: Marc G. Fournier wrote: Does anyone know of any work being done with FreeBSD to do the above? I know about ggate/gmirror, but that is at the file system / kernel level ... I'd like to do something at the userland level, or something that combines the two ... I have TDFS (http://tdfs.sourceforge.net/) and a Google SoC proposal for either/both TDFS and a kernel-level module. This looks *most* cool ... but, seems to have stalled around Jan 13th, '06 ... ? - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFGBuTI4QvfyHIvDvMRArGxAKCukEZdvf7OiMTN4kSIvw5XB8YxVgCgtM99 5xEW7Oo0/z+RqIXVTY6kbuc= =LLln -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time File Replication ... or close to it ...
Marc G. Fournier wrote: Marc G. Fournier wrote: Does anyone know of any work being done with FreeBSD to do the above? I know about ggate/gmirror, but that is at the file system / kernel level ... I'd like to do something at the userland level, or something that combines the two ... I have TDFS (http://tdfs.sourceforge.net/) and a Google SoC proposal for either/both TDFS and a kernel-level module. This looks *most* cool ... but, seems to have stalled around Jan 13th, '06 ... ? Yes :( I got a new job somehere around that time and couldn't find free time to work on it. If I get the SoC project (or another sponsor - I'm open to proposals), I'll go ahead and finish it properly. For now, it mostly works, the TODO list includes recovery when the connection breaks, initial synchronization, more robust operation and possibly some optimizations here and there. If you want to test it, go ahead - it (probably) won't do any harm to your data. signature.asc Description: OpenPGP digital signature
Re: Real-time command history sharing between interactive shells
On 11/29/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: I want to be able to define groups of interactive shells (preferably even across different users) so they have one single shared command history. Any command executed in one of them should be available through all history mechanisms in the other ones. I imagine some ways to do it in tcsh. I'm sure many users would like this kind of functionality, maybe some of them have already implemented it? sounds pretty interesting. maybe i'm missing something pretty basic here, so i assume sym-linking ~/.history between multiple accounts will not be sufficient. if it is you can define $HISTFILE in bash/ksh to point to ~/.history as well. -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time command history sharing between interactive shells
On Wed, 29 Nov 2006, Andrew Pantyukhin wrote: I want to be able to define groups of interactive shells (preferably even across different users) so they have one single shared command history. Any command executed in one of them should be available through all history mechanisms in the other ones. I imagine some ways to do it in tcsh. I'm sure many users would like this kind of functionality, maybe some of them have already implemented it? zsh is a pretty good interactive shell (it finally weaned me off tcsh), as well as supporting a full range of redirection and control constructs. You should look at that, in particular the set -o sharehistory option (which does half of what you're after). Combine this with a shared .history file and you should get the effect you're after. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Whenever I see a dog salivate I get an insatiable urge to ring a bell. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time command history sharing between interactive shells
On 11/30/06, Jan Grant [EMAIL PROTECTED] wrote: On Wed, 29 Nov 2006, Andrew Pantyukhin wrote: I want to be able to define groups of interactive shells (preferably even across different users) so they have one single shared command history. Any command executed in one of them should be available through all history mechanisms in the other ones. I imagine some ways to do it in tcsh. I'm sure many users would like this kind of functionality, maybe some of them have already implemented it? zsh is a pretty good interactive shell (it finally weaned me off tcsh), as well as supporting a full range of redirection and control constructs. You should look at that, in particular the set -o sharehistory option (which does half of what you're after). Combine this with a shared .history file and you should get the effect you're after. I think, I'll follow your advice. It's high time I forgot about csh, but I wonder if you tried to change root's shell to zsh? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time command history sharing between interactive shells
On Nov 29, 2006, at 1:51 PM, Andrew Pantyukhin wrote: zsh is a pretty good interactive shell (it finally weaned me off tcsh), as well as supporting a full range of redirection and control constructs. You should look at that, in particular the set -o sharehistory option (which does half of what you're after). Combine this with a shared .history file and you should get the effect you're after. I think, I'll follow your advice. It's high time I forgot about csh, but I wonder if you tried to change root's shell to zsh? ZSH is a remarkably good choice for a shell. It's as compatible with standard Bourne shell scripts as Bash is, only it also supports some nice options to help people familiar with CSH make the transition (ie, providing mechanisms to convert setenv to export and so forth). It works fine as root's shell, although I would encourage you to make sure that your toor account still works with /bin/sh, especially if / usr/local is on a different filesystem. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time command history sharing between interactive shells
On Thu, 30 Nov 2006, Andrew Pantyukhin wrote: I think, I'll follow your advice. It's high time I forgot about csh, but I wonder if you tried to change root's shell to zsh? You can; I haven't. (exec zsh is simple to type.) sudo works well for single commands. I don't tend to spend much time as root, but that's a question of personal taste. Cheers, jan -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ Spreadsheet through network. Oh yeah. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real-time command history sharing between interactive shells
On 11/30/06, Jan Grant [EMAIL PROTECTED] wrote: On Thu, 30 Nov 2006, Andrew Pantyukhin wrote: I think, I'll follow your advice. It's high time I forgot about csh, but I wonder if you tried to change root's shell to zsh? You can; I haven't. (exec zsh is simple to type.) sudo works well for single commands. I don't tend to spend much time as root, but that's a question of personal taste. Thanks again, I'll plow through zsh manuals. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real Time scheduling
If this is not the list to ask this question, can someone kindly direct me to the right list. I've been out of the FreeBSD loop for a while and just now getting back (my vocation requires that I use linux at work). I have seen a blurb on realtime scheduling with FreeBSD, however there weren't many details on it. I'm looking for things like: 1) Is it similar to an RTOS with preemption, or it is round robin? 2) What is the jitter? 3) how to use that feature. A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort. If there are no stupid questions, then what kind of questions do stupid people ask? Do they get smart just in time to ask questions? David Godsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort. If there are no stupid questions, then what kind of questions do stupid people ask? Do they get smart just in time to ask questions? David Godsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real Time scheduling
David Godsey wrote: If this is not the list to ask this question, can someone kindly direct me to the right list. I've been out of the FreeBSD loop for a while and just now getting back (my vocation requires that I use linux at work). You might try asking on freebsd-realtime@ instead, although this list is a fine place to ask questions in general. I have seen a blurb on realtime scheduling with FreeBSD, however there weren't many details on it. I'm looking for things like: 1) Is it similar to an RTOS with preemption, or it is round robin? 2) What is the jitter? 3) how to use that feature. I don't believe the main FreeBSD project is doing much with realtime directly, although some of the variants like Nano/PicoBSD had people doing RTOS using very pared-down, minimalistic, systems. And a lot of the work in 5.x and 6.x drivers to remove dependencies on the Giant kernel lock will help realtime as well as SMP situations. You might want to be patient and wait a few days to see whether you get better, more specific responses. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real Time FreeBSD?!!!
Dude, could you rephrase that? Its a bit hard to understand On Sun, 18 Jan 2004 04:09 pm, sam Long wrote: I have a system FreeBSD 5.1-p11. How will develop further FreeBSD? How real time is possible to make from FreeBSD operational system? I know, that in FreeBSD there are expansions real time of standard POSIX. I have a small kernel of system due to modules, but on how many stably such kernel? What problems can be?I have born all modules for limits of a kernel. Thank you for the help Den. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real Time FreeBSD?!!!
Hi Anubis and Den! Anubis, I've translated the questions into what I understood. Den, do not hesitate to complain if I had it wrong. I would guess the original message was: - what is the roadmap of FreeBSD (new features)? - (I let this one to authorized people :-) ) - How can a real-time system be designed around FreeBSD? - I've seen many people that knew what a real-time system is but they had different views... It all depends on the type of application and the allowed reaction time, in the end. What do you want to do? If the POSIX extensions are OK, then go for it. FreeBSD is a nice system! - FreeBSD has a small kernel due to module support but how stable is this kernel? - let's say it's stable enough to serve as a secure Internet backbone and file server (that must say pretty much...) - What are the current issues? - See the release notes. anubis écrit: Dude, could you rephrase that? Its a bit hard to understand On Sun, 18 Jan 2004 04:09 pm, sam Long wrote: I have a system FreeBSD 5.1-p11. How will develop further FreeBSD? How real time is possible to make from FreeBSD operational system? I know, that in FreeBSD there are expansions real time of standard POSIX. I have a small kernel of system due to modules, but on how many stably such kernel? What problems can be?I have born all modules for limits of a kernel. Thank you for the help Den. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real time???
Xpression wrote: Hi again...another problem is burning up mi brain, all my servers have the time updated, the router too, now when I send a mail, send-time is very different of the real-time, for example, now in my country 2:12 p.m. by my workstation (my servers 2:10 / 2:10 p.m.)...any idea or somebody with the same trouble??? You want to enable the Network Time Protocol; see man ntpd. You can do so via /stand/sysinstall or enabling NTP in /etc/rc.conf: 4-sec% grep ntp /etc/defaults/rc.conf ntpdate_enable=NO # Run ntpdate to sync time on boot (or NO). ntpdate_program=/usr/sbin/ntpdate # path to ntpdate, if you want a different one. ntpdate_flags=-b # Flags to ntpdate (if enabled). xntpd_enable=NO # Run ntpd Network Time Protocol (or NO). xntpd_program=/usr/sbin/ntpd # path to ntpd, if you want a different one. xntpd_flags=-p /var/run/ntpd.pid # Flags to ntpd (if enabled). -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Real time server mirroring?
At 14:01 11/17/2002, Karl M. Joch wrote: postgres, mysql sendmail and cyrus imap samba any idea how to have mirrored servers in real time with freebsd? Here are some ideas: http://www.Google.com/search?q=rsync+mirror+freebsd Start Here to Find It Fast!© - http://www.US-Webmasters.com/best-start-page/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Real time server mirroring?
From: Karl M. Joch there is only one point i havnt found a real solution. i need to real time mirror some servers (4*2) for fault tolerance. the requirements is that these ones never can break down because it is used as a medical net. best would be mirror over locations. the servers are running: http://www.bsdshell.net/ may provide some assistance (it is the high-uptime bsd project, HUT). This provides some of the components. For the individual services, see e.g. postgresql replication (there are several different mechanisms to achieve for postgres). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Real time server mirroring?
thanks a lot. that was what i am looking for. will give it a try. karl - Original Message - From: Don Bowman [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 10:08 PM Subject: RE: Real time server mirroring? From: Karl M. Joch there is only one point i havnt found a real solution. i need to real time mirror some servers (4*2) for fault tolerance. the requirements is that these ones never can break down because it is used as a medical net. best would be mirror over locations. the servers are running: http://www.bsdshell.net/ may provide some assistance (it is the high-uptime bsd project, HUT). This provides some of the components. For the individual services, see e.g. postgresql replication (there are several different mechanisms to achieve for postgres). To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message