Real-Time Video Recording (ionice equivalent)
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 ___ 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 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: Lost Root Pasword.
I would have prefer to let someone more experienced speak, but since there is not much answers To reset your root password I think there are two solutions: 1) Boot in safe-mode, I think it will not ask password, and you can juste use the passwd to reset the password. 2) Boot with another FreeBSD install (live CD or so). Mount the partitions you have installed FreeBSD on. chroot then passwd should work. I know it is confuse but I only did that with Mac OS X. Warning: Remember that encrypted partition can only be decrypted using the password. Good luck, Laurent. On 1/14/06, Grant Peel [EMAIL PROTECTED] wrote: Hi all, Here is a particularly embarrasing statement and question. S: While working on a FreeBSD 4.4 dev box, changed the root password, but now, cant su. the password I used is 12 chars long, and was made intentionally cryptic. I know all the chars used in the password (yes I have it written down). Q: Where are all the ssh password 'guessing' utilities I see the hackers using on my system? Located, I could really use one. Failing this, I will need to drive to TO and reboot the system by hand and change the passwd. a waste of $50 in gas. -Grant ___ 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: setting up X -- under VMWare?
This is the xorg.conf I use under VMware. I made it at hand... As far as I remember, the only difference with Linux is the paths. Laurent. On 10/24/05, Teo De Las Heras [EMAIL PROTECTED] wrote: Let us know the steps you go through...I'm interested in doing this as well. Teo On 10/24/05, N.J. Thomas [EMAIL PROTECTED] wrote: * pete wright [EMAIL PROTECTED] [2005-10-24 10:25:46 -0700]: On 10/24/05, dick hoogendijk [EMAIL PROTECTED] wrote: What monitor/video card parameters should I supply for XFree86-4 configuration? That of my real monitor/video card or some virtual VMWare one? What I always do is run a knoppix live CD under vmware. The generated Xorg.conf is absolutely great. err except that I think the default X server for 4.x is still XF86 not x.org http://x.org That's fine...we can figure the X.org http://X.org to XF86 translation if it works correctly. Trying it now... Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ 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] xorg.conf Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is logo-constest still up?
Hi, Has anyone heard of the guys behind the logo contest recently? I submitted my logos and got no reply. I sent a second email just to confirm they got my logos. Nothing. Then I submitted my logos using another email address. Still nothing. Are they in holiday or so? I don't want make their inbox full, but if they don't answer I suppose my mails never hit their inbox. Regards, Laurent Debacker. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Is logo-constest still up
Hi, Has anyone heard of the guys behind the logo contest recently? I submitted my logos and got no reply. I sent a second email just to confirm they got my logos. Nothing. Then I submitted my logos using another email address. Still nothing. Are they in holiday or so? I don't want make their inbox full, but if they don't answer I suppose my mails never hit their inbox. Regards, Laurent Debacker. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!
You're really funny. At any web page related to lists of FreeBSD (http://lists.freebsd.org/mailman/listinfo/freebsd-questions) you can read To see the collection of prior postings to the list, visit the freebsd-questions Archives.. I also suppose you knew the existance of web bots that search engines use to index any web page it finds. Of course since the archives are web pages, the archives are indexed by every search engines. Also I wonder what you mean by privacy. Indeed you sent messages to a public list where anybody can subscribe to and read messages. Also don't come here in Europe. Any communication can be listened by the USA using their echelon network. On 5/7/05, Fafa Hafiz Krantz [EMAIL PROTECTED] wrote: Chris, I'm surprised at you! Why did you pass up the opportunity to forge Fafa's name as the sender, to illustrate the point to the clueless better. ;-) Oh dear, I guess I'm gonna get sued for identity theft!! ;-) Ted, forging Fafa. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Saturday, May 07, 2005 2:05 PM To: Ted Mittelstaedt Cc: Fafa Hafiz Krantz; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE! Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Fafa Hafiz Krantz Sent: Friday, May 06, 2005 3:40 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Mailinglist privacy: MY NAME ALL OVER GOOGLE! Hello. I have a big problem. My privacy has been violated. I had no idea when I first started writing posts to the FreeBSD mailinglist that it would be archived, let alone indexed by Google so that the world can spy on my words. Looks like you aren't acquainted with the legal doctrine of Fair Use. Guess you will have to start using some other name online, since there's no way to prove that any of these alleged posts your claiming are violated, were in fact, actually made by the real Fafa Hafiz Krantz. Ted Awe Ted ... Yer a spoil-sport *laffs* -- Best regards, Chris Real programmers know what saad means. ___ 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: Toshiba Portégé 4000 laptop
Okay the solution is to disable COM and Parallel ports in the bios. (Maybe also USB KB, and USB FDD). To access the bios you have to press ESC while the red TOSHIBA boot screen is displayed, then press F1. (I explain that becaused it's undocumented). With the default settings, I even got the 5.x kernel to panic. Really strange. Thanks for your help ;) On 4/23/05, Laurent Debacker [EMAIL PROTECTED] wrote: With FreeSBIE 1.1 (based on FreeBSD 5.3), it says: acd0: TIMEOUT - READ_BIG retrying (2 retries left) acd0: TIMEOUT - READ_BIG timed out Then it stop/freezes. If I press the power button, it says acpi: suspend request ignored (not ready yet). Thanks. On 4/23/05, Laurent Debacker [EMAIL PROTECTED] wrote: I tried 5.4-RC3 with no ACPI, safe mode, and DEBUG mode, without success. DEBUG doesn't repport anything. 5.3 also crashes in safe mode, and no ACPI, freezes after pci0: PCI bus on pcib0. dmesg on 4.11 reports: ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf7eff000-0xf7ef irq 11 at device 2.0 on pci0. You can see full report below. Thank you for your help ;) Laurent. Here are drivers loaded by 4.11 as reported by dmesg: md0: Preloaded image /mfsroot 4423680 bytes at 0xc03edc14 md1: Malloc disk Using $PIR table, 9 entries at 0xc00f01d0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Acerlabs M5247 PCI-PCI(AGP Supported) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: Trident model 8820 VGA-compatible display device at 0.0 irq 11 ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf7eff000-0xf7ef irq 11 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered atapci0: AcerLabs Aladin ATA66 controller port 0xeff0-0xefff at device 4.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: unknown card (vendor=0x10b9, dev=0x5451) at 6.0 isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 chip1: AcerLabs M15x3 Power Management Unit at device 8.0 on pci0 fxp0: Intel 82559 Pro/100 Ethernet port 0xeec0-0xeeff mem 0xf7d0-0xf7df,0xf7efe000-0xf7efefff irq 11 at device 10.0 on pci0 fxp0: Ethernet address 00:00:39:a7:a0:b4 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci_cfgintr_linked: linked (3) to hard-routed irq 11 pci_cfgintr: 0:16 INTA routed to irq11 pcic0: TI PCI-1410 PCI-CardBus Bridge irq 11 at device 16.0 on pci0 pcic0: PCI Memory allocated: 0x8800 pcic0: TI12XX PCI Config Reg: [pwr save][pci only] pccard0: PC Card 16-bit bus (classic) on pcic0 pci_cfgintr_linked: linked (1) to hard-routed irq 11 pci_cfgintr: 0:17 INTA routed to irq11 pcic1: Toshiba ToPIC100 PCI-CardBus Bridge irq 11 at device 17.0 on pci0 pcic1: PCI Memory allocated: 0x88001000 pccard1: PC Card 16-bit bus (classic) on pcic1 pci_cfgintr_linked: linked (2) to hard-routed irq 11 pci_cfgintr: 0:17 INTB routed to irq11 pcic2: Toshiba ToPIC100 PCI-CardBus Bridge irq 11 at device 17.1 on pci0 pcic2: PCI Memory allocated: 0x88002000 pccard2: PC Card 16-bit bus (classic) on pcic2 pci0: unknown card (vendor=0x1179, dev=0x0805) at 18.0 orm0: Option ROMs at iomem 0xc-0xcbfff,0xe-0xe on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. pccard: card inserted, slot0 pccard: card removed, slot0 ad0: 16077MB IC25N020ATCS04-0 [38760/16/63] at ata0-master UDMA66 acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2502 at ata1-master PIO4 On 4/23/05, Kevin Kinsey [EMAIL PROTECTED] wrote: Laurent Debacker wrote: Hello, Both FreeBSD 5.3 and 5.4-RC3 freeze during the boot of the kernel. It detects my CPU, RAM, some ACPI stuffs.. I noticed pci1: display, VGA at device 0.0 (no driver attached). I don't know if it's ok. At the end, it says ohci0: [GIANT-LOCKED] then usb0: OHCI version 1.0, legacy support, then nothing. FreeBSD 4.11 boots well. However I don't want FreeBSD 4.11 ;) Any idea? Thank you, Laurent Debacker
Toshiba Portégé 4000 laptop
Hello, Both FreeBSD 5.3 and 5.4-RC3 freeze during the boot of the kernel. It detects my CPU, RAM, some ACPI stuffs.. I noticed pci1: display, VGA at device 0.0 (no driver attached). I don't know if it's ok. At the end, it says ohci0: [GIANT-LOCKED] then usb0: OHCI version 1.0, legacy support, then nothing. FreeBSD 4.11 boots well. However I don't want FreeBSD 4.11 ;) Any idea? Thank you, Laurent Debacker. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Toshiba Portégé 4000 laptop
With FreeSBIE 1.1 (based on FreeBSD 5.3), it says: acd0: TIMEOUT - READ_BIG retrying (2 retries left) acd0: TIMEOUT - READ_BIG timed out Then it stop/freezes. If I press the power button, it says acpi: suspend request ignored (not ready yet). Thanks. On 4/23/05, Laurent Debacker [EMAIL PROTECTED] wrote: I tried 5.4-RC3 with no ACPI, safe mode, and DEBUG mode, without success. DEBUG doesn't repport anything. 5.3 also crashes in safe mode, and no ACPI, freezes after pci0: PCI bus on pcib0. dmesg on 4.11 reports: ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf7eff000-0xf7ef irq 11 at device 2.0 on pci0. You can see full report below. Thank you for your help ;) Laurent. Here are drivers loaded by 4.11 as reported by dmesg: md0: Preloaded image /mfsroot 4423680 bytes at 0xc03edc14 md1: Malloc disk Using $PIR table, 9 entries at 0xc00f01d0 npx0: math processor on motherboard npx0: INT 16 interface pcib0: Host to PCI bridge on motherboard pci0: PCI bus on pcib0 pcib1: Acerlabs M5247 PCI-PCI(AGP Supported) bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: Trident model 8820 VGA-compatible display device at 0.0 irq 11 ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem 0xf7eff000-0xf7ef irq 11 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0 usb0: USB revision 1.0 uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered atapci0: AcerLabs Aladin ATA66 controller port 0xeff0-0xefff at device 4.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: unknown card (vendor=0x10b9, dev=0x5451) at 6.0 isab0: AcerLabs M1533 portable PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 chip1: AcerLabs M15x3 Power Management Unit at device 8.0 on pci0 fxp0: Intel 82559 Pro/100 Ethernet port 0xeec0-0xeeff mem 0xf7d0-0xf7df,0xf7efe000-0xf7efefff irq 11 at device 10.0 on pci0 fxp0: Ethernet address 00:00:39:a7:a0:b4 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci_cfgintr_linked: linked (3) to hard-routed irq 11 pci_cfgintr: 0:16 INTA routed to irq11 pcic0: TI PCI-1410 PCI-CardBus Bridge irq 11 at device 16.0 on pci0 pcic0: PCI Memory allocated: 0x8800 pcic0: TI12XX PCI Config Reg: [pwr save][pci only] pccard0: PC Card 16-bit bus (classic) on pcic0 pci_cfgintr_linked: linked (1) to hard-routed irq 11 pci_cfgintr: 0:17 INTA routed to irq11 pcic1: Toshiba ToPIC100 PCI-CardBus Bridge irq 11 at device 17.0 on pci0 pcic1: PCI Memory allocated: 0x88001000 pccard1: PC Card 16-bit bus (classic) on pcic1 pci_cfgintr_linked: linked (2) to hard-routed irq 11 pci_cfgintr: 0:17 INTB routed to irq11 pcic2: Toshiba ToPIC100 PCI-CardBus Bridge irq 11 at device 17.1 on pci0 pcic2: PCI Memory allocated: 0x88002000 pccard2: PC Card 16-bit bus (classic) on pcic2 pci0: unknown card (vendor=0x1179, dev=0x0805) at 18.0 orm0: Option ROMs at iomem 0xc-0xcbfff,0xe-0xe on isa0 pmtimer0 on isa0 fdc0: ready for input in output fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0 atkbd0: AT Keyboard flags 0x1 irq1 on atkbdc0 kbd0 at atkbd0 psm0: PS/2 Mouse irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. pccard: card inserted, slot0 pccard: card removed, slot0 ad0: 16077MB IC25N020ATCS04-0 [38760/16/63] at ata0-master UDMA66 acd0: DVD-ROM TOSHIBA DVD-ROM SD-C2502 at ata1-master PIO4 On 4/23/05, Kevin Kinsey [EMAIL PROTECTED] wrote: Laurent Debacker wrote: Hello, Both FreeBSD 5.3 and 5.4-RC3 freeze during the boot of the kernel. It detects my CPU, RAM, some ACPI stuffs.. I noticed pci1: display, VGA at device 0.0 (no driver attached). I don't know if it's ok. At the end, it says ohci0: [GIANT-LOCKED] then usb0: OHCI version 1.0, legacy support, then nothing. FreeBSD 4.11 boots well. However I don't want FreeBSD 4.11 ;) Any idea? Thank you, Laurent Debacker. What does the 4.11 dmesg say about the ochi device? Can you boot safe mode on 5.X? Have you tried booting with ACPI disabled? HTH, KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]