Re: Test messages to -questions
Pardon my newness, but what is "top posting"? Thanks, Bryan On Friday 01 July 2005 06:56 pm, Lane wrote: On Friday 01 July 2005 13:30, Robert Marella wrote: > Jerry McAllister wrote: > >>I say burn 'em on the cross. Why do you need to test to see if you can > >> post before you actually post a question? If your first > >> question/comment doesn't go through, you know it's not working. And > >> subsequent tests can be the same question/comment with a datestamp. > >> > >>Just my 2 cents. > > > > Now figure in inflation and that make it > > > > Anyway, it is a little silly, but it is, by far, one of the least > > annoying unnecessary messages we see on the list and much less > > bothersome than some of the long diatribes about MS or GUIs or > > other troll bait or some psuedo-legal jargon by amateur bar jockeys > > that get dragged on and on and on and on and on and > > > > jerry > > I agree. I am much more annoyed by top posters. > > Robert The only thing about email that annoys me is spam. While I'm a subscriber to freebsd-questions, top posting, incomplete questions, inflammatory commentary, etc. is just the price I pay for getting a steady stream of "Aha's," and hardly seems worth the effort to develop an emotional viewpoint. Although "thought police" who say "do this" and "don't do that" wear me out sometimes with their email. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Open Source: by the people, for the people. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test messages to -questions
that was a joke btw, lets not get into that too. anyways You could always add an addendum to the SMTP rfc that states when someone sends a blank message with the subject "test" it will send back the message with "OK" in the body. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test messages to -questions
On Jul 1, 2005, at 11:29 AM, fbsd_user wrote: So just because this guy was considerate and said 'test' in his subject he gets criticized. But all the posts to this list for selling drugs we all just ignore with no comments. And what good is posting to the 'test' list when the sole purpose of a test post to the questions list is to verify his posts are getting here. The test list is totally useless. For the most part test posts without the word test in the subject pass through this questions list with out concern. This whole thread is so useless that it's funny. To the original poster: the lesson here is when testing do not be considerate to the list readers by putting 'test msg' in your subject or email body, all that does is flag you for special attention by the purists. That's all I have to say about that. While proposing ways to stop people from sending test messages to lists, can someone find a way to filter out top posting as well? :-) Actually, fbsd_user is right; wouldn't sending tests only test if you can send test messages to the test group while not at all verifying that membership and configuration is correct for posting and getting messages to and from the FBSD-questions list? I think the more intelligent approach to "test" the connection would be to actually send some kind of question a new user would have about FreeBSD to the list as a sly way of testing the configuration, but that's just me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test messages to -questions
On 2005-07-01 14:09, Nikolas Britton <[EMAIL PROTECTED]> wrote: > that was a joke btw, lets not get into that too. anyways > > You could always add an addendum to the SMTP rfc that states when > someone sends a blank message with the subject "test" it will send > back the message with "OK" in the body. I'd much prefer "YOU FAILED! COME BACK NEXT SEMESTER." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test messages to -questions
On 7/1/05, Bart Silverstrim <[EMAIL PROTECTED]> wrote: > > [deleted] > > While proposing ways to stop people from sending test messages to > lists, can someone find a way to filter out top posting as well? :-) I'm not trying to stop anybody. I'm purposing ping for SMTP, The construct is like an echo request. So when you send a blank message with a subject such as test or ping the mail server replies to the email saying it got the email. The mail server that acknowledges this email would be whatever was listed in the DNS MX record of the email address that was entered in the to: field. So if I ping the email address [EMAIL PROTECTED] then {mx1,mx2}.freebsd.org replies back to say it got the message. I think this could be a useful diagnostic tool. > > Actually, fbsd_user is right; wouldn't sending tests only test if you > can send test messages to the test group while not at all verifying > that membership and configuration is correct for posting and getting > messages to and from the FBSD-questions list? No the mail all goes to the same server. When you subscribe to the group the mail server send you a confirmation email that you must reply to and then it sends a welcome email. > > I think the more intelligent approach to "test" the connection would be > to actually send some kind of question a new user would have about > FreeBSD to the list as a sly way of testing the configuration, but > that's just me. What about this? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test messages to -questions
On Jul 1, 2005, at 6:02 PM, Nikolas Britton wrote: On 7/1/05, Bart Silverstrim <[EMAIL PROTECTED]> wrote: [deleted] While proposing ways to stop people from sending test messages to lists, can someone find a way to filter out top posting as well? :-) I'm not trying to stop anybody. I'm purposing ping for SMTP, The construct is like an echo request. So when you send a blank message with a subject such as test or ping the mail server replies to the email saying it got the email. The mail server that acknowledges this email would be whatever was listed in the DNS MX record of the email address that was entered in the to: field. So if I ping the email address [EMAIL PROTECTED] then {mx1,mx2}.freebsd.org replies back to say it got the message. I think this could be a useful diagnostic tool. First, I was just semi-jesting to the group in general, not singling you out... Second, I think it kind of goes against the spirit of simplicity to add a form of "ping" to the SMTP protocol. Third, while it may work in this particular case with this particular setup, there are many variations of mailing lists and servers where this might break...i.e., this setup, to me, sounds very situation-specific. I.e., people who have servers that accept mail before actually delivering it...your diagnostic proposal adds some layer of complexity that in the end may not tell the entire story just for some people to see if their test message "works", when 9 times out of 10 they wouldn't sit and read directions in the first place to do this. Actually, fbsd_user is right; wouldn't sending tests only test if you can send test messages to the test group while not at all verifying that membership and configuration is correct for posting and getting messages to and from the FBSD-questions list? No the mail all goes to the same server. When you subscribe to the group the mail server send you a confirmation email that you must reply to and then it sends a welcome email. That alone should be enough to tell you that you're subscribed and should be working. What exactly is the poster trying to test? That messages appear in their inbox on sending, that other people can read their message? In those cases, your ping proposal wouldn't work. If they got to the point where they confirm joining, that tells you it should all be working. The "test" message is more like a tentative "anybody out there?" message...which could be better served, in my opinion, by actually sending a question or sitting back to see when a message comes in from other people to your inbox. I think the more intelligent approach to "test" the connection would be to actually send some kind of question a new user would have about FreeBSD to the list as a sly way of testing the configuration, but that's just me. What about this? Um...sure...what about what about it? (your reply here means...what are you trying to say here?) Happy holidays to anyone on the list who happens to have a holiday coming up, by the way... :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
No emails since wedensday, test!
Heve not recieved a message since wedensday, and I know that there have been questions sinced then, this is a test. -- "You Never Blow Your Trip Forever" Daevid Allen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Virtual IP/DNS test results
Im trying to setup virtual IPs/DNS/Apache, and it seems to be working within the LAN so far. Box 1: Firewall/Router/DNS/DHCP Server Box 2: Virtual IPs Box 3: DHCP client. This is where Im getting an oddity (see below). If I were to ping a hostname that is using a virtual IP address, or if I ping a virtual IP address from just this one of the machines on the LAN, I get this -> $ ping -c1 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes 36 bytes from gatekeeper.trini0.org (192.168.0.1): Redirect Host(New addr: 192.168.1.1) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 03ae 0 40 01 f499 192.168.0.16 192.168.1.1 64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.807 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.807/0.807/0.807/0.000 ms Is this indicative that there is a problem with the setup??? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Throughput test with iperf...
hi again.. would any of you please at least explain it to me what may cause iperf server ending up with "Segmentation fault (core dumped)" message right at the beginning of setting second connection in my bi-directional throughput test, using -r flag?? i used these commands on client and server on two freebsd machines which are connected straight with one cat5e cable: iperf -s -i 1 iperf -c X.Y.Z.T -t 60 -r just getting more confused.. :( Best Regards, t.a.k On Sat, Sep 28, 2013 at 10:22 AM, takCoder wrote: > hi everyone, > > this might be a bit off-topic but i am really confused and in need of your > helps.. :( > > i need to understand what exactly iperf does while testing network > throughput? > > i'm trying to run a throughput+frame loss test on a router using iperf, > and i am really confused with the definitions given for throughput and > packet-loss and iperf output.. > > as i have seen through my searches, throughput is the maximum transfer > rate at which we have no packet loss, so i thought i have to rerun iperf > for different transfer rate(in udp test), so i reach maximun rate while > having no drops... > > but i have seen test videos in which they ran iperf once, with maximum > bandwidth of the line, and just used the reported throughput and packet > loss as the required result! > > what's on? does iperf calculate the throughput independent from > packet-loss? and why is it reporting it named as bandwidth?? > > thank you all.. > > Kind regards, > takcoder > ___ 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: Throughput test with iperf...
thanks for your reply.. :) i think it's iperf.. i installed /usr/ports/benchmarks/iperf port. where can i find iperf2? my machines are both FreeBsds but i can't find iperf2 in my ports collection.. Best Regards, t.a.k On Sun, Sep 29, 2013 at 11:38 AM, Doug Hardie wrote: > On 28 September 2013, at 23:38, takCoder wrote: > > > hi again.. > > > > would any of you please at least explain it to me what may cause iperf > > server ending up with "Segmentation fault (core dumped)" message right at > > the beginning of setting second connection in my bi-directional > throughput > > test, using -r flag?? > > > > i used these commands on client and server on two freebsd machines which > > are connected straight with one cat5e cable: > > > > iperf -s -i 1 > > iperf -c X.Y.Z.T -t 60 -r > > > > just getting more confused.. :( > > Are you using iperf or iperf2. Iperf has a few problems. Iperf2 is more > stable. > > > > ___ 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: Throughput test with iperf...
On 28 September 2013, at 23:38, takCoder wrote: > hi again.. > > would any of you please at least explain it to me what may cause iperf > server ending up with "Segmentation fault (core dumped)" message right at > the beginning of setting second connection in my bi-directional throughput > test, using -r flag?? > > i used these commands on client and server on two freebsd machines which > are connected straight with one cat5e cable: > > iperf -s -i 1 > iperf -c X.Y.Z.T -t 60 -r > > just getting more confused.. :( Are you using iperf or iperf2. Iperf has a few problems. Iperf2 is more stable. ___ 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: Throughput test with iperf...
On 29 September 2013, at 01:20, takCoder wrote: > thanks for your reply.. :) > > i think it's iperf.. i installed /usr/ports/benchmarks/iperf port. > where can i find iperf2? my machines are both FreeBsds but i can't find > iperf2 in my ports collection.. Bad memory - its iperf3. There is no port at this time. You find it at: http://code.google.com/p/iperf/ ___ 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: Throughput test with iperf...
Thank you, Doug, I'll check it :) Best Regards, t.a.k On Sun, Sep 29, 2013 at 12:41 PM, Doug Hardie wrote: > > On 29 September 2013, at 01:20, takCoder wrote: > > > thanks for your reply.. :) > > > > i think it's iperf.. i installed /usr/ports/benchmarks/iperf port. > > where can i find iperf2? my machines are both FreeBsds but i can't find > iperf2 in my ports collection.. > > Bad memory - its iperf3. There is no port at this time. You find it at: > > http://code.google.com/p/iperf/ > > > ___ > 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: Hard drive stress test
On Thu, Dec 18, 2003 at 10:28:49PM +0100, Per olof Ljungmark wrote: > Could somebody please recommend a utility or script suitable for > stressing a hard disk to check for possible errors? > > Thanks, > Depending on what sort of errors you are looking for you can usually find diagnostic utilities on the manufacturer's webpage that will help you determine if there are problems with your hard drive. Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hard drive stress test
Per olof Ljungmark wrote: Could somebody please recommend a utility or script suitable for stressing a hard disk to check for possible errors? Thanks, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Hello, Bonnie++ is good for benchmark/testing a HDD. bonnie++: /usr/ports/benchmarks/bonnie++ Ryan Merrick ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hard drive stress test
>> > Could somebody please recommend a utility or script suitable for > stressing a hard disk to check for possible errors? >> You might look in your hard disk manufacturer's web site for testing and diagnostic software. For example, Maxtor has something called "Maxblast" and Seagate has "SeaTools". I don't find these programs very useful for uncovering and fixing surface defects. You might as well just try dd'ing your hard drive into /dev/null. I have a program that began life twenty+ years ago as a hack for finding bad sectors on SMD disk drives so they could be mapped out. It worked quite well for that and also had the very useful (annoying?) habit of uncovering controller/data-path problems (that one bit in a zillion that got flipped for no good reason). I recently dusted this program off and hacked it to automagically determine on FreeBSD the size of the special file (disk,slice,partition) that it tests and to avoid the effects of disk caching in the kernel and the drive. I could give you a copy of the program, but I must warn you that there is virtually no external documentation and that it seems ineffective on modern SCSI/ATA disk drives. I don't know about ATA drives, but virtually all SCSI drives come configured to hide their mistakes. There is a bit, called "PER", in a SCSI disk drive "error recovery" mode parameter page one can set to enable the reporting of soft errors, but I don't trust it because during the thousands of hours I have worked over SCSI disk drives I have yet to see a single soft error reported. I can't explain it. I don't believe even modern disk systems are that reliable. Possibly SCSI host adapter drivers don't like to report soft errors either (seems unlikely). Another problem is what to do with a bad spot once you find one. I don't think I ever wrote any code to map out flaws on SCSI drives. Perhaps it was not necessary. Most SCSI drives have another bit, called "ARRE", in their "error recovery" mode parameter pages that enabled automatic "reallocation" of sectors on read errors. Unfortunately, I have never seen this work either, perhaps because sectors cannot be automatically reallocated after hard errors (because the data with which to initialize the mapped sector is not available). You might as well forget about testing/diagnostics programs. These things just don't seem to work anymore and the hardware manufacturers don't seem to have much interest in producing them, perhaps because the primary effect of such software is to increase the number of requests for technical assistance and warranty repairs. You don't want to know. Just cross your fingers and pray. You'll be happier that way. :-) Dan Strick [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PLEASE IGNORE - EMAIL TEST
On Friday, 19 December 2003 at 4:53:41 -0800, Rob Cook wrote: > > X-Mailer: Microsoft Outlook, Build 10.0.2616 Sending "test" mail to FreeBSD-questions annoys thousands of people. Please don't do it. We have a special mailing list FreeBSD-test@ for this purpose. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgp0.pgp Description: PGP signature
Re: Hard drive stress test
On Fri, 19 Dec 2003 07:28 am, Per olof Ljungmark wrote: > Could somebody please recommend a utility or script suitable for > stressing a hard disk to check for possible errors? > > Thanks, > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Here is something I found today but havent had a chance to try. Its in ports diskcheckd is a daemon which runs in the background, reading entire disks to find any read errors on those disks. The disks which should be scanned, and the rates at which they should be scanned, must be specified in the configuration file. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
test reverse dns of isp
To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
sh sourcing bug? test bug?
fbsd 4.7 SCRIPT --- echo 1:$1 echo 2:$2 --- COMMAND LINE --- . ./script x y --- OUTPUT --- 1: 2: --- shouldn't the output be: 1:x 2:y ??? in bash, "x y" arguments work as expected, but in FBSD 4.7 and NBSD 1.6L, the arguments get trashed. ps. i used slackware about 7 years ago, and quickly switched to FBSD, hacking NetBSD now and then. recently, i thought i'd give linux a spin again with RedHat - and man - heh - it didn't take long to realize how "spoiled" i had gotten with quality FBSD + ports. it's definitely an OS to get spoiled by. i hope it always keeps it's designs of stability, reliability, flexibility, modularity, and efficiency. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Hardware test software for FreeBSD
Dear colleagues, Does anybody know about software tests for FreeBSD which could overload the whole system (like BurnIn Pro for Windows). Please give the url, if any. We need to test about 500 servers under FreeBSD... Sincerely, Andrew A. Sostin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Looking for database certification / test
Does Sybasse V11 is certified on FreeBSD Does any one of you alreday perform install/and test t an Oracle 9I Database on FreeBSD. I know that Oracle is not actually available on this OS Thanks for your help. Best regards P. Dimpre begin:vcard n:Dimpre;Patrick tel;cell:+33 (0)6 08 94 23 82 tel;work:+33 (0)1 57 60 28 33 x-mozilla-html:FALSE org:Oracle France;Division Industrie version:2.1 email;internet:[EMAIL PROTECTED] title:Responsable technique de compte adr;quoted-printable:;;15 Boulevard Charles de Gaulle=0D=0A=0D=0A;Colombes;;92715;FRANCE fn:Patrick Dimpre end:vcard
Re: SATA Raid (stress test..)
Beastie wrote: Robert Uzzi wrote: That still dosen't connedt SATA to a non sata board though. That's my situation I have 6 SATA drives but no SATA native board. Looking for a cheap addin card to build this upon. I'll buy Intel SRCS16 (500$) this week, will talk to u later about it's compatibility and performance for RAID 5 with 4 SATA drive. regards reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" FreeBSD-6.0 known this device. (Intel SE7320 EP2) ---snip-- amrd0: on amr0 amrd0: 1430511MB (2929686528 sectors) RAID 5 (optimal) ar0: 76228MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master ---snap--- System now work with RAID df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a 496M 55M401M12%/ devfs1.0K1.0K 0B 100%/dev /dev/ar0s1d 496M 12K456M 0%/tmp /dev/ar0s1e 67G419M 61G 1%/usr /dev/amrd0s1d1.3T 12M1.2T 0%/var /dev/acd0651M651M 0B 100%/cdrom My questiin is now, how do i test SATA RAID performance ? Is there any tools or program to do some benchmark ? please help me... regards reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
Beastie wrote: Beastie wrote: Robert Uzzi wrote: That still dosen't connedt SATA to a non sata board though. That's my situation I have 6 SATA drives but no SATA native board. Looking for a cheap addin card to build this upon. I'll buy Intel SRCS16 (500$) this week, will talk to u later about it's compatibility and performance for RAID 5 with 4 SATA drive. regards reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" FreeBSD-6.0 known this device. (Intel SE7320 EP2) ---snip-- amrd0: on amr0 amrd0: 1430511MB (2929686528 sectors) RAID 5 (optimal) ar0: 76228MB status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master ---snap--- System now work with RAID df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ar0s1a 496M 55M401M12%/ devfs1.0K1.0K 0B 100%/dev /dev/ar0s1d 496M 12K456M 0%/tmp /dev/ar0s1e 67G419M 61G 1%/usr /dev/amrd0s1d1.3T 12M1.2T 0%/var /dev/acd0651M651M 0B 100%/cdrom My questiin is now, how do i test SATA RAID performance ? Is there any tools or program to do some benchmark ? please help me... regards reza I try to test with dd simple command dd if=/dev/amrd0s1d of=/dev/null ^C31297+0 records in 31297+0 records out 16024064 bytes transferred in 7.970548 secs (2010409 bytes/sec) the result is very slow performance (-+ 2 Mbytes/sec), with write cache enable on drive. :( regards reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
Beastie wrote: I try to test with dd simple command dd if=/dev/amrd0s1d of=/dev/null ^C31297+0 records in 31297+0 records out 16024064 bytes transferred in 7.970548 secs (2010409 bytes/sec) the result is very slow performance (-+ 2 Mbytes/sec), with write cache enable on drive. :( Your performance sucks because, to quote the manual, "Input data is read and written in 512-byte blocks". Try a sensible blocksize. 16k would mimic a standard file system block, but even that is likely to underestimate. If you were, say, copying the disk to another you could easily use 1Mb. Some examples: dd if=/dev/ad10s1a of=/dev/null ^C794830+0 records in 794830+0 records out 406952960 bytes transferred in 164.049297 secs (2480675 bytes/sec) dd if=/dev/ad10s1a of=/dev/null bs=16k ^C53745+0 records in 53745+0 records out 880558080 bytes transferred in 21.092098 secs (41748245 bytes/sec) So from 2Mb/s to 41Mb/s! dd if=/dev/ad10s1a of=/dev/null bs=1m ^C933+0 records in 933+0 records out 978321408 bytes transferred in 13.836165 secs (70707556 bytes/sec) And up to 70Mb/s though nothing real world is likely to achieve that. There are a whole slew of ports (/usr/ports/benchmarks) some of which do disk tests. I've used unixbench in the past, which is a bit of a faff and does more than disks, but it works. If you run windows on the box and want graphical benchtests, then there are free apps out there that will do tests on disks, like Sandra. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
Your performance sucks because, to quote the manual, "Input data is read and written in 512-byte blocks". Try a sensible blocksize. 16k would mimic a standard file system block, but even that is likely to underestimate. If you were, say, copying the disk to another you could easily use 1Mb. Some examples: dd if=/dev/ad10s1a of=/dev/null ^C794830+0 records in 794830+0 records out 406952960 bytes transferred in 164.049297 secs (2480675 bytes/sec) dd if=/dev/ad10s1a of=/dev/null bs=16k ^C53745+0 records in 53745+0 records out 880558080 bytes transferred in 21.092098 secs (41748245 bytes/sec) So from 2Mb/s to 41Mb/s! dd if=/dev/ad10s1a of=/dev/null bs=1m ^C933+0 records in 933+0 records out 978321408 bytes transferred in 13.836165 secs (70707556 bytes/sec) And up to 70Mb/s though nothing real world is likely to achieve that. There are a whole slew of ports (/usr/ports/benchmarks) some of which do disk tests. I've used unixbench in the past, which is a bit of a faff and does more than disks, but it works. If you run windows on the box and want graphical benchtests, then there are free apps out there that will do tests on disks, like Sandra. --Alex second tools is diskinfo, but i'm not quite happy with the result. #diskinfo -t /dev/amrd0s1d /dev/amrd0s1d 512 # sectorsize 96609024# mediasize in bytes (931G) 1953118377 # mediasize in sectors 121575 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 5.233346 sec = 20.933 msec Half stroke: 250 iter in 3.828152 sec = 15.313 msec Quarter stroke: 500 iter in 6.232849 sec = 12.466 msec Short forward:400 iter in 2.409001 sec =6.023 msec Short backward: 400 iter in 2.594473 sec =6.486 msec Seq outer: 2048 iter in 0.638372 sec =0.312 msec Seq inner: 2048 iter in 0.671994 sec =0.328 msec Transfer rates: outside: 102400 kbytes in 1.102065 sec =92916 kbytes/sec middle:102400 kbytes in 1.209657 sec =84652 kbytes/sec inside:102400 kbytes in 1.912485 sec =53543 kbytes/sec ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
Your performance sucks because, to quote the manual, "Input data is read and written in 512-byte blocks". Try a sensible blocksize. 16k would mimic a standard file system block, but even that is likely to underestimate. If you were, say, copying the disk to another you could easily use 1Mb. Some examples: dd if=/dev/ad10s1a of=/dev/null ^C794830+0 records in 794830+0 records out 406952960 bytes transferred in 164.049297 secs (2480675 bytes/sec) dd if=/dev/ad10s1a of=/dev/null bs=16k ^C53745+0 records in 53745+0 records out 880558080 bytes transferred in 21.092098 secs (41748245 bytes/sec) So from 2Mb/s to 41Mb/s! dd if=/dev/ad10s1a of=/dev/null bs=1m ^C933+0 records in 933+0 records out 978321408 bytes transferred in 13.836165 secs (70707556 bytes/sec) And up to 70Mb/s though nothing real world is likely to achieve that. There are a whole slew of ports (/usr/ports/benchmarks) some of which do disk tests. I've used unixbench in the past, which is a bit of a faff and does more than disks, but it works. If you run windows on the box and want graphical benchtests, then there are free apps out there that will do tests on disks, like Sandra. --Alex second tools is diskinfo, but i'm not quite happy with the result. #diskinfo -t /dev/amrd0s1d /dev/amrd0s1d 512 # sectorsize 96609024# mediasize in bytes (931G) 1953118377 # mediasize in sectors 121575 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 5.233346 sec = 20.933 msec Half stroke: 250 iter in 3.828152 sec = 15.313 msec Quarter stroke: 500 iter in 6.232849 sec = 12.466 msec Short forward:400 iter in 2.409001 sec =6.023 msec Short backward: 400 iter in 2.594473 sec =6.486 msec Seq outer: 2048 iter in 0.638372 sec =0.312 msec Seq inner: 2048 iter in 0.671994 sec =0.328 msec Transfer rates: outside: 102400 kbytes in 1.102065 sec =92916 kbytes/sec middle:102400 kbytes in 1.209657 sec =84652 kbytes/sec inside:102400 kbytes in 1.912485 sec =53543 kbytes/sec ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
Beastie wrote: second tools is diskinfo, but i'm not quite happy with the result. #diskinfo -t /dev/amrd0s1d /dev/amrd0s1d 512 # sectorsize 96609024# mediasize in bytes (931G) 1953118377 # mediasize in sectors 121575 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 5.233346 sec = 20.933 msec Half stroke: 250 iter in 3.828152 sec = 15.313 msec Quarter stroke: 500 iter in 6.232849 sec = 12.466 msec Short forward:400 iter in 2.409001 sec =6.023 msec Short backward: 400 iter in 2.594473 sec =6.486 msec Seq outer: 2048 iter in 0.638372 sec =0.312 msec Seq inner: 2048 iter in 0.671994 sec =0.328 msec Transfer rates: outside: 102400 kbytes in 1.102065 sec =92916 kbytes/sec middle:102400 kbytes in 1.209657 sec =84652 kbytes/sec inside:102400 kbytes in 1.912485 sec =53543 kbytes/sec Why not happy? Transfer rates from 53 to 92Mb/s, give or take; what's wrong with that? On a plain sata disk I get: Seek times: Full stroke: 250 iter in 4.717248 sec = 18.869 msec Half stroke: 250 iter in 5.342099 sec = 21.368 msec Quarter stroke: 500 iter in 8.870424 sec = 17.741 msec Short forward:400 iter in 2.753187 sec =6.883 msec Short backward: 400 iter in 1.390941 sec =3.477 msec Seq outer: 2048 iter in 0.426796 sec =0.208 msec Seq inner: 2048 iter in 0.487280 sec =0.238 msec Transfer rates: outside: 102400 kbytes in 1.652736 sec =61958 kbytes/sec middle:102400 kbytes in 1.697364 sec =60329 kbytes/sec inside:102400 kbytes in 1.834759 sec =55811 kbytes/sec A second, different, disk gives me better seek times but roughly similar transfer rates. So I beat your inside transfer rate, but you're 50% up on the outside rate. If you have windows anywhere, then download sandra-lite. Among other things, it has comparison benchmarks for all its tests, including disk transfer rates for things like SCSI-RAID0, RAID1, SATA/PATA-RAID0/1 etc. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
On 3/2/06, Alex Zbyslaw <[EMAIL PROTECTED]> wrote: > [snipped] > > Why not happy? Transfer rates from 53 to 92Mb/s, give or take; what's > wrong with that? On a plain sata disk I get: > > Seek times: > Full stroke: 250 iter in 4.717248 sec = 18.869 msec > Half stroke: 250 iter in 5.342099 sec = 21.368 msec > Quarter stroke: 500 iter in 8.870424 sec = 17.741 msec > Short forward:400 iter in 2.753187 sec =6.883 msec > Short backward: 400 iter in 1.390941 sec =3.477 msec > Seq outer: 2048 iter in 0.426796 sec =0.208 msec > Seq inner: 2048 iter in 0.487280 sec =0.238 msec > Transfer rates: > outside: 102400 kbytes in 1.652736 sec =61958 kbytes/sec > middle:102400 kbytes in 1.697364 sec =60329 kbytes/sec > inside:102400 kbytes in 1.834759 sec =55811 kbytes/sec > > A second, different, disk gives me better seek times but roughly similar > transfer rates. So I beat your inside transfer rate, but you're 50% up > on the outside rate. > > If you have windows anywhere, then download sandra-lite. Among other > things, it has comparison benchmarks for all its tests, including disk > transfer rates for things like SCSI-RAID0, RAID1, SATA/PATA-RAID0/1 etc. > diskinfo -t /dev/da0e /dev/da0 512 # sectorsize 1756440297472 # mediasize in bytes (1.6T) 3430547456 # mediasize in sectors 213541 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 3.502539 sec = 14.010 msec Half stroke: 250 iter in 2.749807 sec = 10.999 msec Quarter stroke: 500 iter in 4.919431 sec =9.839 msec Short forward:400 iter in 2.257898 sec =5.645 msec Short backward: 400 iter in 2.293915 sec =5.735 msec Seq outer: 2048 iter in 0.132233 sec =0.065 msec Seq inner: 2048 iter in 0.152473 sec =0.074 msec Transfer rates: outside: 102400 kbytes in 1.487112 sec =68858 kbytes/sec middle:102400 kbytes in 1.505039 sec =68038 kbytes/sec inside:102400 kbytes in 1.336495 sec =76618 kbytes/sec This and all the other benchmarks you've run are useless. Run a real benchmark like iozone. It's in ports under benchmarks/iozone. http://www.iozone.org/ -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
Nikolas Britton wrote: This and all the other benchmarks you've run are useless. Run a real benchmark like iozone. It's in ports under benchmarks/iozone. http://www.iozone.org/ Please can you be careful when you attribute your comments. You've sent this email "to" me, and left only my name in the attributions as if I were someone suggesting either dd or diskinfo as accurate benchmarks, when in fact my contribution was to suggest unixbench and sandra-lite. Maybe you hate those too, in which case you can quote what I said in-context and rubbish that at your pleasure. The OP sent poor-throughput dd stats, and I explained why they were poor. The OP then complained that diskinfo -t stats weren't up to snuff, so I contributed mine because they were comparable and I couldn't see why he(?) didn't like his(?). I would contend that the statement "all the other benchmarks you've run are useless" is grandiose over-generalisation. Both dd (with a sensible blocksize) and diskinfo -t will give you useful information. One might be an idiot to trust the data to several decimal places, but if the result from both was, say, a transfer rate of 5Mb/s when you expected 50Mb/s, you could conclude that something was up. Of course neither mimics real-world behaviour; but both likely provide reasonable maxima. You may find that "useless", but with no explanation for your reasoning, your statement isn't terribly helpful. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
On 3/2/06, Alex Zbyslaw <[EMAIL PROTECTED]> wrote: > Nikolas Britton wrote: > > >This and all the other benchmarks you've run are useless. Run a real > >benchmark like iozone. It's in ports under benchmarks/iozone. > >http://www.iozone.org/ > > > > > Please can you be careful when you attribute your comments. You've sent > this email "to" me, and left only my name in the attributions as if I > were someone suggesting either dd or diskinfo as accurate benchmarks, > when in fact my contribution was to suggest unixbench and sandra-lite. > Maybe you hate those too, in which case you can quote what I said > in-context and rubbish that at your pleasure. Yes I see your point, it does look like I'm replying to something you wrote. This was a oversight and I am sorry. > > The OP sent poor-throughput dd stats, and I explained why they were > poor. The OP then complained that diskinfo -t stats weren't up to > snuff, so I contributed mine because they were comparable and I couldn't > see why he(?) didn't like his(?). > > I would contend that the statement "all the other benchmarks you've run > are useless" is grandiose over-generalisation. Both dd (with a > sensible blocksize) and diskinfo -t will give you useful information. > One might be an idiot to trust the data to several decimal places, but > if the result from both was, say, a transfer rate of 5Mb/s when you > expected 50Mb/s, you could conclude that something was up. Of course > neither mimics real-world behaviour; but both likely provide reasonable > maxima. You may find that "useless", but with no explanation for your > reasoning, your statement isn't terribly helpful. > Yes, well you see it's a long story :-) By sheer happenstance over the night had I drive fail on the array I ran the diskinfo test on, if I would have check my email I'd have know this. So when I logged into the system via ssh and ran the test I did not know that the array (RAID5, 8 disks, SATAII, PCI-X) was operating in degraded mode. Having run extensive iozone testing on this array when I first designed it I just assumed diskinfo was lying when it said I was getting 70MB/s transfers, I was getting sustained read transfer rates of 105MB/s on a 650GB test file back when it only had 4 drives. This is the reason I said diskinfo was useless, however, I still feel that diskinfo is sorta useless because it only shows you the tip of the iceberg. A tool such as iozone is much more useful for getting accurate numbers for the entire disk subsystem. Do you know how disk caching effects your system? Do you know what FreeBSD, and it's tunable setting, can do to your file system? Best stripe and block size for your needs? iozone can tell you all of this and more. Remember that 105MB/s number I quoted above?, that's just the sustained read transfer rate for a big ass file, I don't need to work with big ass files. I need to work with 15MB files (+/- 5MB). After buying the right disks, controller, mainboard etc. and lots of tuning with the help of iozone I get: 200 - 350MB/s overall (read, write, etc.) for files less then or equal to 64MB*. So anyways, that's what iozone can do for you. google it and you'll find out more stuff about it. *in a 4 disk setup running FreeBSD 5.4, I have 8 disks today and run FreeBSD 6.1-PRERELEASE. so those numbers went up because I have 4 more disks and the file system speed improvements to the FreeBSD 6.x line, but I have not benchmarked the improvements because the server is in production now. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
Nikolas Britton wrote: Please can you be careful when you attribute your comments. You've sent this email "to" me, and left only my name in the attributions as if I were someone suggesting either dd or diskinfo as accurate benchmarks, when in fact my contribution was to suggest unixbench and sandra-lite. Maybe you hate those too, in which case you can quote what I said in-context and rubbish that at your pleasure. Yes I see your point, it does look like I'm replying to something you wrote. This was a oversight and I am sorry. OK. Remember that 105MB/s number I quoted above?, that's just the sustained read transfer rate for a big ass file, I don't need to work with big ass files. I need to work with 15MB files (+/- 5MB). After buying the right disks, controller, mainboard etc. and lots of tuning with the help of iozone I get: 200 - 350MB/s overall (read, write, etc.) for files less then or equal to 64MB*. So anyways, that's what iozone can do for you. google it and you'll find out more stuff about it. Thanks for the info. I think I can only dream about numbers like like yours. Iozone looks to be in the ports so I see some of my weekend disappearing looking at it :-) Best, --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
On 3/3/06, Alex Zbyslaw <[EMAIL PROTECTED]> wrote: > Nikolas Britton wrote: > > >>Please can you be careful when you attribute your comments. You've sent > >>this email "to" me, and left only my name in the attributions as if I > >>were someone suggesting either dd or diskinfo as accurate benchmarks, > >>when in fact my contribution was to suggest unixbench and sandra-lite. > >>Maybe you hate those too, in which case you can quote what I said > >>in-context and rubbish that at your pleasure. > >> > >> > > > >Yes I see your point, it does look like I'm replying to something you > >wrote. This was a oversight and I am sorry. > > > > > OK. > > >Remember that 105MB/s number I quoted above?, that's just the > >sustained read transfer rate for a big ass file, I don't need to work > >with big ass files. I need to work with 15MB files (+/- 5MB). After > >buying the right disks, controller, mainboard etc. and lots of tuning > >with the help of iozone I get: 200 - 350MB/s overall (read, write, > >etc.) for files less then or equal to 64MB*. > > > >So anyways, that's what iozone can do for you. google it and you'll > >find out more stuff about it. > > > > > Thanks for the info. I think I can only dream about numbers like like > yours. Iozone looks to be in the ports so I see some of my weekend > disappearing looking at it :-) > It runs on over two dozen operating systems, including windows. Their are two primary reasons I can get such high transfer rates from simple SATA drives. The first one was the selection of the mainboard that had a PCI-X slots, I built this system before PCI-Express mainboards and controllers hit the market. The PCI bus is severely restricted and obsolete, I'm simply going to post the theoretical maximum throughput in MB/s for the various bus standards: f(x,y) = x-bits * y-MHz / 8 = maximum theoretical throughput in MB/s PCI: 32 bits * 33 Mhz / 8 = 132 MB/s (standard PCI bus found on every pc) PCI: (32bits, 66MHz) = 264MB/s (Cards are commonplace, mainboards aren't) PCI-X: (64, 33) = 264MB/s (obsolete, won't find it on new boards.) PCI-X: (64, 66) = 528MB/s (Commonplace.) PCI-X: (64, 100) = 800 PCI-X: (64, 133) = 1064 (Commonplace.) PCI-X: (64, 266) = 2128 PCI-X: (64, 533) = 4264 (very hard to find, even on high-end equipment.) PCI-X version 1 (66MHz - 133MHz) and PCI-X version 2 (266MHz - 533MHz). PCI-X is backwards compatible with PCI and slower versions of PCI-X, for example you can put a standard PCI card in a PCI-X 533MHz slot and it will simply run at (32, 33) similarly a 66 MHz PCI card will run at (32, 66) and so on and so forth. PCI-X is also forwards compatible in the fact that you can run a 133MHz PCI-X card in a standard (32, 33) PCI slot. Because of the backwards and an forwards compatibly I feel that PCI-X is superior to PCI-Express, *BUT* PCI-Express moving forwards is far far superior to PCI & PCI-X because it does not have 13 years of legacy to remain compatible with, it's cheaper to produce, and it's already in lower-end desktop systems as a replacement for AGP thanks to all the gamers. A few years from now PCI will end up where ISA / EISA are. I'm veering way off topic so I will not go into anymore details about PCI, PCI-X, and PCI-Express. Google around for the shortcomings of PCI / PCI-X and why PCI-Express is the future. PCI-Express: PCIe is not compatible with PCI or PCI-X (except for PCIe to PCI bridging) and it's just, well, totally different from the PCI spec and I'm already way off topic so again just google the details. It's theoretical maximums are expressed in Gigabits per second but I will convert them to MB/s for comparison with PCI and PCI-X. x1: 2.5Gbps = 312.5MB/s x2: 625MB/s x4: 1250MB/s x8: 2500MB/s x12: 3750MB/s x16: 5000MB/s x32: 1MB/s Anyways back on topic, what was the topic? Oh yes, why you won't see 200MB/s - 350MB/s if your using a standard PCI slot. If you look back up all the way at the top you will see that the standard PCI bus is a crap shoot and that it's limited to a theoretical maximum of 132 MB/s. What this means is that your RAID controller and the disks attached to it and the cache buffers attached to the disks are all capped at that theoretical maximum of 132MB/s. Then you have to take into account that the PCI bus is shared with other devices such as the network card, video card, USB, etc. Your RAID controller has to fight will all these devices and a 1Gbit NIC card can eat up 125MB/s (12.5MB/s for a 100Mbit NIC). The next reason for those high gains is because I picked drives with 16MB cache buffers and that I'm insane enough to run a production server with the write-back cache policy enabled on the array controller and enabling the write cache on the disks. This is stupidly insane unless you've planned for the worsts. The worst case scenario would be that you corrupt the array into an unrepairable state and loose everything if you had a power failure. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ __
Re: SATA Raid (stress test..)
Nikolas Britton wrote: On 3/3/06, Alex Zbyslaw <[EMAIL PROTECTED]> wrote: Nikolas Britton wrote: Please can you be careful when you attribute your comments. You've sent this email "to" me, and left only my name in the attributions as if I were someone suggesting either dd or diskinfo as accurate benchmarks, when in fact my contribution was to suggest unixbench and sandra-lite. Maybe you hate those too, in which case you can quote what I said in-context and rubbish that at your pleasure. Yes I see your point, it does look like I'm replying to something you wrote. This was a oversight and I am sorry. OK. Remember that 105MB/s number I quoted above?, that's just the sustained read transfer rate for a big ass file, I don't need to work with big ass files. I need to work with 15MB files (+/- 5MB). After buying the right disks, controller, mainboard etc. and lots of tuning with the help of iozone I get: 200 - 350MB/s overall (read, write, etc.) for files less then or equal to 64MB*. So anyways, that's what iozone can do for you. google it and you'll find out more stuff about it. Thanks for the info. I think I can only dream about numbers like like yours. Iozone looks to be in the ports so I see some of my weekend disappearing looking at it :-) It runs on over two dozen operating systems, including windows. Their are two primary reasons I can get such high transfer rates from simple SATA drives. The first one was the selection of the mainboard that had a PCI-X slots, I built this system before PCI-Express mainboards and controllers hit the market. The PCI bus is severely restricted and obsolete, I'm simply going to post the theoretical maximum throughput in MB/s for the various bus standards: f(x,y) = x-bits * y-MHz / 8 = maximum theoretical throughput in MB/s PCI: 32 bits * 33 Mhz / 8 = 132 MB/s (standard PCI bus found on every pc) PCI: (32bits, 66MHz) = 264MB/s (Cards are commonplace, mainboards aren't) PCI-X: (64, 33) = 264MB/s (obsolete, won't find it on new boards.) PCI-X: (64, 66) = 528MB/s (Commonplace.) PCI-X: (64, 100) = 800 PCI-X: (64, 133) = 1064 (Commonplace.) PCI-X: (64, 266) = 2128 PCI-X: (64, 533) = 4264 (very hard to find, even on high-end equipment.) PCI-X version 1 (66MHz - 133MHz) and PCI-X version 2 (266MHz - 533MHz). PCI-X is backwards compatible with PCI and slower versions of PCI-X, for example you can put a standard PCI card in a PCI-X 533MHz slot and it will simply run at (32, 33) similarly a 66 MHz PCI card will run at (32, 66) and so on and so forth. PCI-X is also forwards compatible in the fact that you can run a 133MHz PCI-X card in a standard (32, 33) PCI slot. Because of the backwards and an forwards compatibly I feel that PCI-X is superior to PCI-Express, *BUT* PCI-Express moving forwards is far far superior to PCI & PCI-X because it does not have 13 years of legacy to remain compatible with, it's cheaper to produce, and it's already in lower-end desktop systems as a replacement for AGP thanks to all the gamers. A few years from now PCI will end up where ISA / EISA are. I'm veering way off topic so I will not go into anymore details about PCI, PCI-X, and PCI-Express. Google around for the shortcomings of PCI / PCI-X and why PCI-Express is the future. PCI-Express: PCIe is not compatible with PCI or PCI-X (except for PCIe to PCI bridging) and it's just, well, totally different from the PCI spec and I'm already way off topic so again just google the details. It's theoretical maximums are expressed in Gigabits per second but I will convert them to MB/s for comparison with PCI and PCI-X. x1: 2.5Gbps = 312.5MB/s x2: 625MB/s x4: 1250MB/s x8: 2500MB/s x12: 3750MB/s x16: 5000MB/s x32: 1MB/s Anyways back on topic, what was the topic? Oh yes, why you won't see 200MB/s - 350MB/s if your using a standard PCI slot. If you look back up all the way at the top you will see that the standard PCI bus is a crap shoot and that it's limited to a theoretical maximum of 132 MB/s. What this means is that your RAID controller and the disks attached to it and the cache buffers attached to the disks are all capped at that theoretical maximum of 132MB/s. Then you have to take into account that the PCI bus is shared with other devices such as the network card, video card, USB, etc. Your RAID controller has to fight will all these devices and a 1Gbit NIC card can eat up 125MB/s (12.5MB/s for a 100Mbit NIC). The next reason for those high gains is because I picked drives with 16MB cache buffers and that I'm insane enough to run a production server with the write-back cache policy enabled on the array controller and enabling the write cache on the disks. This is stupidly insane unless you've planned for the worsts. The worst case scenario would be that you corrupt the array into an unrepairable state and loose everything if you had a power failure. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ __
Re: SATA Raid (stress test..)
t I'm insane enough to run a production server with the > write-back cache policy enabled on the array controller and enabling the > write cache on the disks. This is stupidly insane unless you've planned for > the worsts. The worst case scenario would be that you corrupt the array into > an unrepairable state and loose everything if you had a power failure. -- > BSD Podcasts @ http://bsdtalk.blogspot.com/ > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > attach iozone result of amrd0 with 4 spindle Seagate Baracuda 300 Gb SATA II > (1 hotspare) > w/ Intel SRCS16 PCI-X > Is that fast or what ? :) > I'll have to take a closer look, but the first thing I noticed in your test report is that you are only using a 1MB test file. You should run a test that will also max out the on disk / controller buffers. I think the Baracuda's have a 16MB buffers (16MBx4=64MB) so try a 128MB test file. Also be nice to see more detailed hardware specs about the system and what version of FreeBSD are you running. Thanks. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid (stress test..)
he array controller and enabling the write cache on the disks. This is stupidly insane unless you've planned for the worsts. The worst case scenario would be that you corrupt the array into an unrepairable state and loose everything if you had a power failure. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" attach iozone result of amrd0 with 4 spindle Seagate Baracuda 300 Gb SATA II (1 hotspare) w/ Intel SRCS16 PCI-X Is that fast or what ? :) I'll have to take a closer look, but the first thing I noticed in your test report is that you are only using a 1MB test file. You should run a test that will also max out the on disk / controller buffers. I think the Baracuda's have a 16MB buffers (16MBx4=64MB) so try a 128MB test file. Also be nice to see more detailed hardware specs about the system and what version of FreeBSD are you running. Thanks. -- BSD Podcasts @ http://bsdtalk.blogspot.com/ . Second test with 128MB buffers (attach) on - SATA II Seagate Baracuda - PCI-X Intel SRCS16 - Intel Xeon 3.0 with 2 GB DDR RAM - and Intel SE7320EP2 board - FreeBSD-6.1 Pre-RELEASE Thanks before for good review and explanation. I need to be sure that there is no performance issue before i put this machine into production. regards reza ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Resolving Perl 'make test' Errors?
We're running perl 5.8.7_2 (from ports), with a mix of modules installed via ports and CPAN, all on a 6.0-STABLE machine. Someone tried to install WWW::Mechanize from CPAN, and when it tried to do a 'make test', there was an error. If I build the module in ports and go into the work directory and run 'make test' manually, I get the same test error. I usually prefer to install Perl modules through ports when possible, so that portupgrade can take care of them for me. However, one of the shortcomings of the (at least default) way in which ports installs Perl modules is that ports does not run 'make test'. Is there a clever way to have the ports system run 'make test' before installing a Perl module? Most of the /usr/ports/*/p5-*/Makefile files do not have 'test' defined as a target. Does anyone have any advice for how to go about ironing out this problem? My first inclination is to remake each of my p5-* ports and run 'make test' on them manually and then have CPAN reinstall everything that we have installed via CPAN. Thanks in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
shell test for stdout=stderr
Is there a way for a shell script to test if 2> is the same as 1>? I want to put messages in both when they are connected to different files, but would like to avoid duplicating the message when they are the same. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to test if online?
Hi all, I am using a FreeBSD box as an DSL router. Sometimes the inet connection does down and ppp is unable to reconnect. I want to detect via a cron script if I am online and if not reinitilize the connection. The script works ok when run manually, but when executed from cron it sometimes reinitializes the connection even when it is not neccessary. Now my question would be how I could improve the script, or if there is a better way. As you can see from the script I am not really a programmer, but I tried what I could. #!/bin/sh if !(/sbin/ping -c 1 freebsd.org) then /usr/bin/killall ppp /bin/sleep 1 /sbin/ifconfig xl1 down /sbin/ifconfig xl1 up /bin/sleep 1 /usr/sbin/ppp -quiet -ddial -nat tdsl fi - thanks in advance Christian Tischler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: speed test in ports?
On Jan 11, 2010, at 9:45 AM, David Banning wrote: > I wonder if there is something in the ports that tests my DSL speed. > I am guessing that if I installed firefox3 and then installed flash > or Java then I could go to speedtest.net, but I wonder if there is > a simpler solution. You can use ftp or fetch from the base system to test downloads of some reasonably large files, and get a decent estimate of your bandwidth (or that of the server, depending on which is lower). However, the network-based tests from your ISP, speedtest.net, dslreports.com, etc including the tweak test often provide useful information about MTU, dropped packets, tweaking TCP window size, etc, so a browser-based test is a good approach. Regards, -- -Chuck ___ 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: speed test in ports?
On Mon, Jan 11, 2010 at 12:45 PM, David Banning wrote: > I wonder if there is something in the ports that tests my DSL speed. > I am guessing that if I installed firefox3 and then installed flash > or Java then I could go to speedtest.net, but I wonder if there is > a simpler solution. > ___ > 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" > You don't need ports for thatJust use fetch(1) and grab an ISO of a DVD (or even a CD) from somewhere. Eg, a debian DVD image or freebsd image or whatever. A lot of ISPs boost the first x MB of a transfer to give the illusion that you can download faster when doing speed tests (since speed tests only transfer a small amount of data). Comcast's "PowerBoost" is a perfect example of this. So if you get something bigger, you can monitor the speed of the download and get your speed test that way. If you really want to be accurate, you can do the test several times using mirrors in various geographical areas as well to get a better overall idea of your available bandwidth. ___ 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: speed test in ports?
You don't need ports for thatJust use fetch(1) and grab an ISO of a DVD (or even a CD) from somewhere. Eg, a debian DVD image or freebsd image or whatever. A lot of ISPs boost the first x MB of a transfer to give the illusion that you can download faster when doing speed tests (since speed tests only transfer a small amount of data). Comcast's "PowerBoost" is a perfect example of this. So if you get something bigger, you can monitor the speed of the download and get your speed test that way. If you really want to be accurate, you can do the test several times using mirrors in various geographical areas as well to get a better overall idea of your available bandwidth. This method works for me - what about testing upload? I am guessing the best way might be to login into another server and "fetch" from my server? ___ 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"
hi this is test message
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hi this is test message
hi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test on FreeBSD site
In response to NetOpsCenter <[EMAIL PROTECTED]>: > Aloha, > > How long does it take for a test to be accepted or rejected on the > FreeBSD test mail box? > Is three minutes normal for a test to pop up? > I had some FreeBSD 7 config issues and this nearly caused me to think I > hadn't cleared the problem because it took quite a while to pop up. It depends on how busy the server is at the time you send it, among other factors. I haven't noticed if the mail servers are doing greylisting, but it wouldn't surprise me if they were. In this day and age, with the spam scourge and all the alleged "solutions" that everyone's mail servers use, anything less than 10 minutes for a delivery should be considered successful. -- 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: Test on FreeBSD site
Bill Moran wrote: I haven't noticed if the mail servers are doing greylisting, but it wouldn't surprise me if they were. They do. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test on FreeBSD site
On 2007-08-24 06:36, Bill Moran <[EMAIL PROTECTED]> wrote: > In response to NetOpsCenter <[EMAIL PROTECTED]>: > > How long does it take for a test to be accepted or rejected on the > > FreeBSD test mail box? Is three minutes normal for a test to pop > > up? I had some FreeBSD 7 config issues and this nearly caused me to > > think I hadn't cleared the problem because it took quite a while to > > pop up. > > It depends on how busy the server is at the time you send it, among > other factors. I haven't noticed if the mail servers are doing > greylisting, but it wouldn't surprise me if they were. They are. It may take a few minutes before a message gets through, but that depends on how often the *sending* server retries. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test on FreeBSD site
>> I haven't noticed if the mail servers are doing greylisting, but it >> wouldn't surprise me if they were. > > They do. That's quite the response. Care to elaborate for purposes of archive accuracy? Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Test on FreeBSD site
Bill Moran wrote: In response to NetOpsCenter <[EMAIL PROTECTED]>: Aloha, How long does it take for a test to be accepted or rejected on the FreeBSD test mail box? Is three minutes normal for a test to pop up? I had some FreeBSD 7 config issues and this nearly caused me to think I hadn't cleared the problem because it took quite a while to pop up. It depends on how busy the server is at the time you send it, among other factors. I haven't noticed if the mail servers are doing greylisting, but it wouldn't surprise me if they were. In this day and age, with the spam scourge and all the alleged "solutions" that everyone's mail servers use, anything less than 10 minutes for a delivery should be considered successful. Thanks for the reply. FreeBSD 7 is excellent. Applause to the Developers. I have been using FreeBSD since 2. something. Is there a good how to set up spam assassin for FreeBSD? Most I have tried have no FreeBSD specific file placements listsed and I can't get it to work. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] + + http://internetohana.org - Supporting - FreeBSD 6.* - 7.* + "All that's really worth doing is what we do for others."- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: just a test mail
Alex Zhang <[EMAIL PROTECTED]> wrote: > I want to submit a question to Mail list; I hope to get help in time. > Thanks Never, ever send test emails to freebsd-questions. From the Handbook: If you wish to test your ability to send to FreeBSD lists, send a test message to freebsd-test. Please do not send test messages to any other list. -- Sahil Tandon <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
bash versus sh test builtin
The -ne operator for [ in /bin/sh doesn't seem to work as in bash. Also the bash behavior here is what matches /bin/[ most closely. $ /bin/sh $ if [ $UID -ne 0 ] ; then > echo not root > fi [: -ne: unexpected operator $ exit $ echo $SHELL /usr/local/bin/bash [jeff...@dobby ~/src/mount-rsnap]$ if [ $UID -ne 0 ] ; then > echo not root > fi not root Does anyone have a recommendation of how to run this simple test in / bin/sh and how to write tests reasonably portably? -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ 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"
print test page - false negative
Just an anecdote to any of you who may be having trouble configuring printing: I installed FreeBSD 7.2 Release with CUPS and gutenprint-cups. The printer in question is an Epson Stylus Photo R280, which is supported by gutenprint. After configuring CUPS, including permissions for /dev/ulpt0, I could print; but the test page came out as garbage. In a moment of frustration, I tried to print the CUPS configuration window from the File menu in firefox..it worked! I then shutdown and left to see Star Trek before anything could go wrong. :-) I'll try to print from other applications later. 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"
squid hello write test failed
Dear All This is a amd64 box with FreeBSD 6.3. So far it is only acting as a firewall (with PF). Yesterday I installed squid via ports with a pretty vanilla configuration. I.e. no neighbour caches, just to be used as a standalone cache for users from the inside net. No interception caching (yet). Squid was not yet put under heavy load - in fact I am so far the only person using it. Everything worked fine yesterday. However, squid "died" after "squid -k rotate" was executed by cron over night. Here is what it came up with after (successful) log rotation: 2008/04/23 04:20:00| storeDirWriteCleanLogs: Starting... 2008/04/23 04:20:00| Finished. Wrote 1706 entries. 2008/04/23 04:20:00| Took 0.0 seconds (1714572.9 entries/sec). 2008/04/23 04:20:00| aioSync: flushing pending I/O operations 2008/04/23 04:20:00| aioSync: done 2008/04/23 04:20:00| logfileRotate: /usr/local/squid/logs/access.log 2008/04/23 04:20:00| sendto FD 12: (1) Operation not permitted 2008/04/23 04:20:00| ipcCreate: CHILD: hello write test failed Squid was running and accepting connections on port 3128, but they were not carried out any longer. I then killed squid (actually I needed kill -9 to bring it down) and made sure no more squid processes are running. But now, every time I try to start squid - manually, or via rc.d - I get the same messages as above. The "FD" number varies, but everything else stays the same. There were no other changes made on the machine in between that I am aware of. What is going on here? Regards Tobias FWIW, here is my config: cache_log /usr/local/squid/logs/cache.log cache_access_log /usr/local/squid/logs/access.log cache_store_log none connect_timeout 2 minutes log_fqdn on cache_effective_user squid http_port 3128 acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny to_localhost acl inside_net src xxx.xxx.xxx.0/24 http_access allow inside_net http_access allow localhost http_access deny all cache_mgr [EMAIL PROTECTED] maximum_object_size 32 MB cache_replacement_policy heap LFUDA cache_dir aufs /usr/local/squid/cache 32768 32 256 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A Test Message Please Disreguard
NP> All, NP> Sorry for this post, but I have submitted a couple of posts and they NP> haven't appeared on the list. I just want to make sure that things NP> are working. NP> --Nick NP> ___ NP> freebsd-questions@freebsd.org mailing list NP> http://lists.freebsd.org/mailman/listinfo/freebsd-questions NP> To unsubscribe, send any mail to "[EMAIL PROTECTED]" - obviously not otherwise you would have seen them ;) maybe you should pay the mailman god a visit, his temple can be found here http://lists.freebsd.org/mailman/listinfo/freebsd-questions I seem to remember that the mailmans priests have a prayer that, if uttered correctly under the holy moon of the web will please the god, so that he repeats the questions you send to him to yourself. Hail be to him. Hexren ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
juste a test do not answer
thanks -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: No emails since wedensday, test!
pixiedave wrote: Heve not recieved a message since wedensday, and I know that there have been questions sinced then, this is a test I'm sorry people, I know we all agreed on keeping quiet to trick pixiedave but I cant do it anymore...let's start using the list again -yuri ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Virtual IP/DNS test results
Gerard Samuel wrote: If I were to ping a hostname that is using a virtual IP address, or if I ping a virtual IP address from just this one of the machines on the LAN, [ ...you get an ICMP redirect... ] Is this indicative that there is a problem with the setup??? No. What happened was you local client created an HTTP request to the public IP which the hostname in the URL resolved to. Your NAT box saw that this public IP was in fact being NAT'ed to a local host, and issued an ICMP redirect telling the client about the shorter route. If this didn't work right, your apache config probably doesn't mention the local IP in the virtualhost section or some such, but the HTTP result and/or the apache logs will give more info to track down any such details. You can also set up "split-horizon DNS" or perform similar tricks in /etc/hosts to convince machines on your LAN to lookup the www hostname as local IP rather than as public IP, which would remove the ICMP redirect from the situation entirely. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
test if script called by cron
Hi, Is there a simple way of testing whether a given script was called via cron, I'd rather find a solution that would work from within the script rather than setting an environment variable in the crontab. thanks Paul. (anyone here going to EuroBSD con?) -- - Paul Macdonald IFDNRG Ltd Web and video hosting - t: 0131 5548070 m: 07970339546 e: p...@ifdnrg.com w: http://www.ifdnrg.com - IFDNRG 40 Maritime Street Edinburgh EH6 6SA High Specification Dedicated Servers from £100.00pm ___ 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"
which performance test tool to use?
Hi everyone, I need and am trying to find a way to run reliable performance tests on my Network nodes. I am looking for proper BSD-Based tools, which give me information about my systems' throughput, latency, packet-drop and alike in the performance test family... Would you please share your experiences with me? It would be really kind of you t do so; Thank you all in advance. Best Regards, takCoder ___ 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: sh sourcing bug? test bug?
In the last episode (Jan 14), Chad Kline said: > fbsd 4.7 > > SCRIPT > --- > echo 1:$1 > echo 2:$2 > --- > > COMMAND LINE > --- > . ./script x y > --- > > OUTPUT > --- > 1: > 2: > --- > > shouldn't the output be: > 1:x > 2:y Not sure. The sh defined at opengroup.org doesn't even have a dot command. In FreeBSD's (and debian's) /bin/sh, each instance of "." pushes the contents of the specified filename into the command stream. It's more of an input redirection operator than a command. I don't know what POSIX has to say about it. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: sh sourcing bug? test bug?
Chad Kline wrote: > fbsd 4.7 > > SCRIPT > --- > echo 1:$1 > echo 2:$2 > --- > > COMMAND LINE > --- > . ./script x y > --- > > OUTPUT > --- > 1: > 2: > --- > > shouldn't the output be: > 1:x > 2:y Being able to specify command line arguments to the script being sourced is a Korn shell extension that has been adopted by many other shells (bash etc.). FreeBSD's /bin/sh doesn't support this feature, it just ignores the extra arguments. If the script is intended to be portable you'll have to avoid using this feature; otherwise run the script with pdksh, ksh93 or bash. Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Use of the lists (was: test)
Dear/Beste Andrea, Sunday, February 9, 2003, 2:28:29 PM, you wrote: > Just a test. It takes some time to process the mail send to this list. Only resend you mails after they are still not on the list the next day. Tests your mail to [EMAIL PROTECTED] How the lists are indented is written on the website www.freebsd.org, so you don't need to abuse the list. -- Best regards/Met vriendelijke groet, Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hardware test software for FreeBSD
Sostin Andrey wrote: Dear colleagues, Does anybody know about software tests for FreeBSD which could overload the whole system (like BurnIn Pro for Windows). Please give the url, if any. We need to test about 500 servers under FreeBSD... building a kernel is generally considered a good burn in test, I think. It seems to find lots of bad RAM. -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ <http://paulbeard.no-ip.org/movabletype/> No one can make you feel inferior without your consent. -- Eleanor Roosevelt To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Hardware test software for FreeBSD
Sostin Andrey wrote: Dear colleagues, Does anybody know about software tests for FreeBSD which could overload the whole system (like BurnIn Pro for Windows). Please give the url, if any. We need to test about 500 servers under FreeBSD... Sincerely, Andrew A. Sostin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message cd /usr/src && make -j4 buildworld && make -j4 buildkernel Repeat until satisfied. -- R To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Test please reply back to me
CAN I SEE THIS? = Alisha S. Outridge No one and nothing is perfect but the aspiration to be so should never be lost. Life, like Love, is what you make of it... so make it good! __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Abstraction leakage burning test DVD+R
Hello, After my dump/restore test failed back in May of 2010[1], I finally got around to burning a test DVD after installing about 2.5 inches of semi-rigid foam under the machine to dampen any local vibration. In designing the test, I was under the mistaken impression that buffer under-runs would reduce the amount of space for writing. Apparently, DVD+R media supports loss-less linking[2]. Test Procedure (using ATAPI interface, rather than the newer ATAPI/CAM interface). The man pages do not imply any major differences for this test. The drive in question is a LG drive with the SuperMulti logo. Test procedure: 1.# mkfifo auxout aux45G 2. In other terminals: # cat auxout | md5 # dd if=aux45G count=2197266 bs=2048 | md5 3. Write test disk: # dd if=/dev/urandom bs=2048 count=2295104 | \ tee auxout aux45G | dd of=/dev/acd0 bs=2048 Error: dd:/dev/acd0: Input/output error 679+0 records in 678+0 records out 1388544 bytes transferred in 80.97 seconds (step 4 not completed due to premature burn failure after 684 blocks, 80 seconds (from 'dd if=aux45G'...) (15743 bytes/sec)) Drive spun up at least twice during this time. 4. Read test (in another term 'cat aux45G | md5') # dd if=/dev/acd0 bs=2048 count=2295104 | tee aux45G | md5 Questions: Currently, the drive is locked. Before forcefully ejecting it and risking an new disk, I want to know what may have gone wrong. Was I expecting too much of FreeBSD on old hardware? The hardware is a Pentium-II desktop machine with 256MB of RAM, with a Promise ATA100 controller card. An extra-long 80-wire cable is in use (to ad4). acd0: DVDR at ata-1-master UDMA33 ad4: 78167MB at ata-2-master UDMA100 dd if=/dev/urandom of=/home/test Wrote at 4485315 bytes/second: faster than I was expecting (based on linux's slow urandom function), but still slow enough to cause buffer under-runs. So the second question is: do I have to do anything special to enable buffer underrun protection? (with DVD+R's lossless linking feature, no data should be lost.) How important is running ATAPI/CAM? Obviously DVD burning was happening before the release of version 8, as far as I know. If running out of data is supposed to be abstracted away, did I find a bug that only shows up on old hardware or heavy load? (Or possibly drive firmware bug?) Regards, James Phillips # uname -a FreeBSD dusty.inet 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 [1] dump/restore (to DVD+R) test failure http://docs.freebsd.org/cgi/getmsg.cgi?fetch=290415+0+archive/2010/freebsd-questions/20100530.freebsd-questions [2] Why DVD+R(W) is superior to DVD-R(W) http://www.myce.com/article/Why-DVDRW-is-superior-to-DVD-RW-203/ PS: is signing messages on the mailing list a faux-pas? -- OpenPGP Public Key: http://phillipsjk.ca/signature0611.txt signature.asc Description: Digital signature
TV test image generator using mencoder
For an amateur TV (ham) project, I'm searching for a convenient way to create a test image DVD or CD using FreeBSD's port mencoder. But I can't get this working. Maybe somebody on list has an idea of how to accomplish this. Input: a still image (jpg, gif, png) of a test picture, as shown on TV, already available Output: a VCD-compatible MPEG video file which shows the picture (which does not change) and plays a 1 kHz testing sound (sine wave); the length of "video" should be given in minutes More: a DVD-compatible output could be provided for better quality if needed The idea is this: With a set of, let's say 5 of such MPEG files, each lasting 10 minutes, I want to burn a VCD because that's what the player in use can play best. If it plays the in "repeat mode", every 10 minutes the test image will change, the sound will stay the same. The VCD can be done with mkvcdfs, I've already done that for other purposes, works good. As this player is a stand-alone device, there's no trouble getting a TV (video or even antenna) signal out of a PC. :-) Background: The test VCD can be played in continuous loop while the transmitter is running. This way, receiving tests can be done, as there is a good testing signal for making statements about video and audio quality. The combination of both, also using something standar- dized (instead of a camera input, showing the town from above or a look out of the window across the street) is buch better for making QUALIFIED statements about signal quality. Adjustments to the equipment can be done more easily. I've tried to do this with mencoder, but can't get any usable results. How would you suggest to get this done? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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"
Apsfilter setup test page does nothing ...
I am trying to get my HP Deskjet 720C working via the parallel port lpt0. After running through the apsfilter setup program and configuring all the required stuff, I choose T) Print a test page, but nothing happens, namely: Ok to print testpage? [y/n] y Creating test page... real0m5.208s user0m1.358s sys 0m0.336s Printing test page... -rw-r--r-- 1 root wheel 104370928 Oct 1 17:44 /tmp/apsfilter1140/test_page.aps ...and then nothing. the tmp-file is created but what now? lpd is running: [EMAIL PROTECTED] ps -aux | grep lpd root 396 0.0 0.2 1364 940 ?? Is5:13PM 0:00.01 /usr/sbin/lpd Any ideas? -- Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shell test for stdout=stderr
Robin Becker wrote: > Is there a way for a shell script to test if 2> is the same as 1>? I > want to put messages in both when they are connected to different files, > but would like to avoid duplicating the message when they are the same. You could try using fstat(1) to print out the open file descriptors from your process: fstat -p $$ and then compare the values in the DEV and INUM columns -- unfortunately fstat has no way to map back from those device and inode values to filenames. 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 signature.asc Description: OpenPGP digital signature
Re: shell test for stdout=stderr
Matthew Seaman wrote: Robin Becker wrote: Is there a way for a shell script to test if 2> is the same as 1>? I want to put messages in both when they are connected to different files, but would like to avoid duplicating the message when they are the same. You could try using fstat(1) to print out the open file descriptors from your process: fstat -p $$ and then compare the values in the DEV and INUM columns -- unfortunately fstat has no way to map back from those device and inode values to filenames. thanks for the fstat tip this code seems to do what I want fstat -p $$ | awk '{if($4=="1"||$4=="2"){F[$4]=$5+$6+$8}} END{ if(F["1"]==F["2"]) print 1 }' I suppose there might be a problem if F never gets created or one of 1/2 were closed prior to execution. I probably need a BEGIN{F[""]=""} or something to make it a bit more robust. -- Robin Becker ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[Call to Test] [OT] aMSN-0.98.1
Hi folks, I would like to invite everyone to test the newest version of aMSN. This version has support for video conferencing and audio conferencing, is using tk and tcl 8.6 with support for threads. The tarball style ports can be downloaded at: http://people.freebsd.org/ ~ sylvio/amsn-0.98.1.tar.gz Some screens: http://people.freebsd.org/~sylvio/amsn-0.98.1.png http://people.freebsd.org/~sylvio/amsn_with_voice.png Thank you all. Regards, Sylvio Cesar. ___ 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: hi this is test message
Please use [EMAIL PROTECTED] for testing purposes. That's the reason it exists, and it avoids spamming 1000s of subscribers. -- 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]"
Speed Test in PC5750 verizon card
Hello, I use PC5750 verizon air card in FreeBSD 6.3 with ugencom device driver. It works fine but I only get 240Kbps upload and download speed even I got EDVO connection. When I test it in Windows, I got 1.4Mbps for download and 750Kbps for upload speed. I try so many staff and search but I couldn't find a solution. If anyone has similar experience then share with me. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bash versus sh test builtin
In the last episode (Jan 11), Jeffrey Goldberg said: > The -ne operator for [ in /bin/sh doesn't seem to work as in bash. > Also the bash behavior here is what matches /bin/[ most closely. > > $ /bin/sh > $ if [ $UID -ne 0 ] ; then > > echo not root > > fi > [: -ne: unexpected operator > $ exit > $ echo $SHELL > /usr/local/bin/bash > [jeff...@dobby ~/src/mount-rsnap]$ if [ $UID -ne 0 ] ; then > > echo not root > > fi > not root > > Does anyone have a recommendation of how to run this simple test in / > bin/sh and how to write tests reasonably portably? UID=$(id -u) if [ $UID -ne 0 ] ; then echo not root fi UID is not a variable set by /bin/sh, which is why the test fails. http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03 -- Dan Nelson dnel...@allantgroup.com ___ 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: bash versus sh test builtin
On Jan 11, 2009, at 9:07 PM, Dan Nelson wrote: UID=$(id -u) if [ $UID -ne 0 ] ; then echo not root fi UID is not a variable set by /bin/sh, which is why the test fails. Ah. Thank you. I was, as you see, barking up the wrong tree. Thank you for setting me strait on this. Cheers, -j ___ 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: bash versus sh test builtin
On Sun, Jan 11, 2009 at 08:08:18PM -0600, Jeffrey Goldberg wrote: > The -ne operator for [ in /bin/sh doesn't seem to work as in bash. > Also the bash behavior here is what matches /bin/[ most closely. > > $ /bin/sh > $ if [ $UID -ne 0 ] ; then > > echo not root > > fi > [: -ne: unexpected operator > $ exit > $ echo $SHELL > /usr/local/bin/bash > [jeff...@dobby ~/src/mount-rsnap]$ if [ $UID -ne 0 ] ; then > > echo not root > > fi > not root > > Does anyone have a recommendation of how to run this simple test in / > bin/sh if [ $(id -u) -ne 0 ]; then ... As to why your test isn't working as expected, rewrite your script to read: #!/bin/sh echo $UID and you'll discover that UID is a bash environmental variable. > and how to write tests reasonably portably? That's a different question, and merits a much longer discussion probably better had elsewhere. I'd suggest comp.unix.shell. -- George ___ 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: bash versus sh test builtin
>> On Sun, 11 Jan 2009 20:08:18 -0600, >> Jeffrey Goldberg said: J> if [ $UID -ne 0 ] ; then ... J> Does anyone have a recommendation of how to run this simple test in /bin/sh J> and how to write tests reasonably portably? I think your best bet for comparisons like this is to use case. I started doing that back in the days when '[' would start a separate program: case "$UID" in 0) echo am root ;; *) echo not root ;; esac I use "test" for things relating to file access: die() { echo "$@" >& 2 exit 1 } test -f /etc/passwd || die "Your system is seriously hosed" -- Karl Vogel I don't speak for the USAF or my company If men ruled the world #12: Instead of wasting money on an expensive engagement ring, your fiancee would get a giant foam hand that said, "You're #1!" ___ 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"
Refurbished Wireless Test and Repair Values
We Sell Worldwide Rentals and Leasing Available Renting or leasing test equipment is todays answer. Renting test equipment allows you to acquire test equipment without the investment of ownership. Renting test equipment is an ideal solution for companies that need additional test equipment on short notice or need test equipment for short periods of time. Rent test equipment for special projects, replace failed equipment, or evaluate test equipment before purchasing and avoid long lead times. Test Equipment Connection is expanding its rental inventory and investing in the newest and most popular test equipment. Our inventory is growing and changes daily. We offer over 28,000 test instruments from over 250 manufacturers. When you rent test equipment, rental payments are treated as operating expenses and not part of your capital equipment budget. Call or Email for a Quote Today Rental Quote Request Tight Capital Budget? - No Problem! Check Out These High Quality Refurbished Equipment Specials and Maximize Your Budget. Anritsu MT8220A/40/41 Sale $8,995 Anritsu S331B Sale $3,995 Anritsu S332C Sale $6,895 Anritsu ML2437A Sale $3,995 Agilent E6380A Sale $3,500 Agilent E4436B/Options Sale $15,900 Agilent 8712ET/1EC Sale $9,800 IFR COM120B Sale $9,290 HP 4284A Sale $9,990 HP 8560EC Sale $23,000 HP 8720D with options On Sale Call R&S FSH3 On Sale Call Over 15 Years of Sales, Service and Selection Rohde & Schwarz SME03 Sale $5,490 IFR 2945A Sale 9,495 Anritsu S332C Sale $6,895 Anritsu S331C Sale $5,495 Anritsu S331A Sale $2,995 Agilent 8753ES Sale $22,000 Tektronix TVS645 Sale $2,750 Agilent 89431A Sale $6,890 Test Equipment Connection is Actively Purchasing De-installed, Excess, New-Surplus, Off-Lease and Underutilized Equipment. Click Here for a Cash Offer R&S FSH6.26/B1/Z3 Sale $19,190 JDSU SDA5000 Sale $6,990 JDSU FST2802 Sale $8,490 JDSU FST-2310 Equipped for DS1, DS3, OC-3, & OC-12 Call JDSU ANT-5 Equipped for STM-1/-4 On Sale Call Tektronix TDS3032 Sale $3,000 Tektronix TDS3034 Sale $3,895 Tektronix TDS3054B Sale $8,490 HP 8561E Sale $11,980 Marconi 2031 Sale $3,895 Agilent E4436B w/options On Sale Call HP 8720ES/10/12/400 Sale $55,000 HP 54540C Sale $2,495 HP 8648C/1E6 Sale $7,290 Our technicians are fully trained and have extensive calibration and repair expertise on the widest variety of makes & models. We provide high quality repair and calibration services at competitive prices with responsive turn around times for evaluation, repair and calibration. N.I.S.T. traceable certificates in accordance with MIL-STD 45662A and ANSI/NSCL 540-1 can be provided with all repairs. In addition, ISO 9001-2000 UL registered calibrations and ISO/IEC 17025 calibrations accredited by A2LA are available for select items. No Capital Budget? - No Problem! We Repair and Calibrate So You Can Utilize The Equipment You Already Have. Free Evaluation Coupon Below! Click Here to View This Page on the Internet Toll Free USA & Canada 800-615-8378 Direct Worldwide 407-804-1184 email [EMAIL PROTECTED] 30 Skyline Drive Lake Mary, FL 32746 This email is sent in accordance with the US CAN-SPAM Act. *Removal* requests* can be sent to this address and will be honored and respected If you want to dis-continue this mailing click on the following email address or respond with *un-subscribe* in the subject line 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]"
make -jX build(world|kernel): test results
Howdy, Occasionally the question pops up on the questions@ list about what the fastest -jX number is for a single CPU system. I had some spare time so I tried out a small matrix of possibilities. My conclusion is that using -jX at all is mostly a waste of time on single CPU systems running -STABLE (even with multiple spindles being involved), especially when one considers that -jX may introduce build problems. NOTES: * I used the simple shell "time" command * /usr/obj was cleaned out before each run and I waited at least 30 seconds afterwards for write caching to settle down * This is my regular build host for my network * I built 4 kernels: 3 customized and GENERIC (see above for why) * Celeron 900, 256Mb of RAM, /usr/src and /usr/obj are both on their own set of spindles * /usr/obj consumes part of a vinum mirror on dual 40Gb 7200RPM Maxtor 6L040J2's (the remaining vinum filesystems weren't active during this test) * /usr/src is on a 2,1Gb Compaq ST32550N SCSI-2 drive * The operating system is on separate spindles RESULTS: buildworld -j2 buildworld -j3 buildworld -j4 buildworld == == == == real 57m10.367s 54m10.992s 55m7.494s55m1.459s user 38m5.436s38m20.852s 38m22.453s 38m23.056s sys9m2.801s 10m12.876s 10m17.140s 10m14.792s buildkernel -j2 buildkernel -j3 buildkernel -j4 buildkernel === === === === real 36m59.994s 36m58.988s 37m42.956s 37m31.627s user 29m35.597s 29m43.405s 29m43.846s 29m48.652s sys4m50.478s5m26.372s5m26.883s5m22.763s Thought this might be of some interest, -T -- Re: alt.sysadmin.recovery A fitting punishment for kindly naivete, to end up belonging here. - A.S.R. quote (Chris Johnson) pgp0.pgp Description: PGP signature
Re: Welcome to the "Test" mailing list
Date: Thu, 19 Feb 2004 02:04:50 -0600 From: [EMAIL PROTECTED] Subject: Welcome to the "Test" mailing list To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Welcome to the [EMAIL PROTECTED] mailing list! To post to this list, send your email to: [EMAIL PROTECTED] General information about the mailing list is at: http://alshababnet.com/mailman/listinfo/test_alshababnet.com If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://alshababnet.com/mailman/options/test_alshababnet.com/freebsd-questions%40freebsd.org You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word `help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. It is: emofop Normally, Mailman will remind you of your alshababnet.com mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Thursday, February 19, 2004 10:08:01 AM ** Reply Separator ** Upon visiting the site, all I receive is the following error message: No such list test_alshababnet.com There currently are no publicly-advertised Mailman mailing lists on alshababnet.com. To visit the general information page for an unadvertised list, open a URL similar to this one, but with a '/' and the right list name appended. List administrators, you can visit the list admin overview page to find the management interface for your list. If you are having trouble using the lists, please contact [EMAIL PROTECTED] Gerard Seibert [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"Top posting" (was: Test messages to -questions)
[resequenced, trimmed] On Friday, 1 July 2005 at 14:01:13 +, Bryan Maynard wrote: > On Friday 01 July 2005 06:56 pm, Lane wrote: >> On Friday 01 July 2005 13:30, Robert Marella wrote: >>> I agree. I am much more annoyed by top posters. >> >> The only thing about email that annoys me is spam. While I'm a >> subscriber to freebsd-questions, top posting, incomplete >> questions, inflammatory commentary, etc. is just the price I pay >> for getting a steady stream of "Aha's," and hardly seems worth the >> effort to develop an emotional viewpoint. >> >> Although "thought police" who say "do this" and "don't do that" >> wear me out sometimes with their email. > > Pardon my newness, but what is "top posting"? This sounds like a troll, but I'll give you the benefit of the doubt. "Top posting" is a term that some people use to describe part of what you did with your reply: put the reply out of sequence at the top of the message instead of where it fits in logically in the thread. Some people call the latter "bottom posting", but that's inaccurate and also wrong. You apparently haven't read http://www.lemis.com/questions.html . Amongst other things, it states: 7. Include relevant text from the original message. Trim it to the minimum, but don't overdo it. It should still be possible for somebody who didn't read the original message to understand what you're talking about. 8. Use some technique to identify which text came from the original message, and which text you add. I personally find that prepending "> " to the original message works best. Leaving white space after the "> " and leave empty lines between your text and the original text both make the result more readable. 9. Put your response in the correct place (after the text to which it replies). It's very difficult to read a thread of responses where each reply comes before the text to which it replies. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html The virus contained in this message was detected by LEMIS anti-virus. Finger [EMAIL PROTECTED] for PGP public key. See complete headers for address and phone numbers. pgp1D3Om6pJET.pgp Description: PGP signature
How to test my own netgraph node ?
Hi sir... I have modified ng_tee.c to design my own netgraph node. But i dont know how to test that it is working. 1.Tell me the right procedure to test it. 2.How can i pass incoming packet through it ? 3.How can i print incoming packet info on prompt ? reply as soon as possible Best regards Manish Gautam Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. Go to: http://in.insurance.yahoo.com/licspecial/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Test - Nothing posted since 7:00 am?
Topic says it all - Just a test. Sorry. Last message was at 7:43 am CST -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: test if script called by cron
On Mon, 16 Sep 2013 12:26:59 +0100, Paul Macdonald wrote: > Is there a simple way of testing whether a given script was called via cron, > > I'd rather find a solution that would work from within the script rather > than setting an environment variable in the crontab. I'd suggest the script creates a file (lock file or, much easier, just a simple normal file) at its beginning: #!/bin/sh /usr/bin/touch /tmp/scriptrun # ... your script content here ... You could also output the date command to that file to see when the script has been called: #!/bin/sh /bin/date "+%Y-%m-%d %H:%M:%S" > /tmp/scriptrun # ... your script content here ... Of course you would have to manually remove that file after you have verified its existence and content. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: test if script called by cron
In the last episode (Sep 16), Paul Macdonald said: > Is there a simple way of testing whether a given script was called via cron, > > I'd rather find a solution that would work from within the script rather > than setting an environment variable in the crontab. You check to see if stdin is a terminal, but that's not conclusive. One way to know for sure is to look at the name of the process that launched you: if [ ! -t 0 ] ; then echo "no tty, possibly run from cron" fi parent=$(ps -o command= -p $PPID) case $parent in *cron* ) echo "parent is $parent, almost certainly cron" ;; esac -- Dan Nelson dnel...@allantgroup.com ___ 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: test if script called by cron
On Mon, 16 Sep 2013 12:26:59 +0100 Paul Macdonald articulated: > > Hi, > > Is there a simple way of testing whether a given script was called > via cron, > > I'd rather find a solution that would work from within the script > rather than setting an environment variable in the crontab. > > thanks > Paul. > > (anyone here going to EuroBSD con?) If you want to learn if the running script was called via cron, this would work, assuming you are running Bash. if [[ ! -t 0 ]]; then echo "Running from Cron" fi -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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: test if script called by cron
On Mon, 16 Sep 2013 23:28:17 -0400, kpn...@pobox.com wrote: > On Mon, Sep 16, 2013 at 02:05:04PM +0200, Polytropon wrote: > > On Mon, 16 Sep 2013 12:26:59 +0100, Paul Macdonald wrote: > > > Is there a simple way of testing whether a given script was called via > > > cron, > > > > > > I'd rather find a solution that would work from within the script rather > > > than setting an environment variable in the crontab. > > > > I'd suggest the script creates a file (lock file or, > > much easier, just a simple normal file) at its beginning: > > > > #!/bin/sh > > /usr/bin/touch /tmp/scriptrun > > # ... your script content here ... > > Wouldn't the lockf command be better than touch? That way you get the > condition code telling you whether or not the script is already running. Yes, it would probably be better in this case. This, in combination with the suggestion of "test-t 0" to check if the script has been interactively called or not, looks like a better solution. However, the intial question does not make fully sure (at least to me as a non-native speaker) if the intention is (a) to check _if_ the script has been run via cron, or (b) to check if the script has been run via _cron_. :-) > > Of course you would have to manually remove that file > > after you have verified its existence and content. > > If you use lockf as a drop-in replacement for touch then, yes, you'll > need to keep the lock file until removing it at the end of the script. Depends. Let's say the script is scheduled at 3:00 and will finish in about half an hour. The "evidence file" will only be visible from 3:00 to ca. 3:30, so removing the "evidence file" after the script has finished could lead to a false-negative result ("has not been run"). This is also true for the more simple solution using the touch command (no rm call at the end of the script). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: test if script called by cron
An easy way to do this is check /var/log/cron There are many other ways. - aurf On Sep 16, 2013, at 4:26 AM, Paul Macdonald wrote: > > Hi, > > Is there a simple way of testing whether a given script was called via cron, > > I'd rather find a solution that would work from within the script rather than > setting an environment variable in the crontab. > > thanks > Paul. > > (anyone here going to EuroBSD con?) > > -- > - > Paul Macdonald > IFDNRG Ltd > Web and video hosting > - > t: 0131 5548070 > m: 07970339546 > e: p...@ifdnrg.com > w: http://www.ifdnrg.com > - > IFDNRG > 40 Maritime Street > Edinburgh > EH6 6SA > > High Specification Dedicated Servers from £100.00pm > > > ___ > 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"
Perl 5.8 - make test problem (shmget. msgget)
I am trying to upgrade Perl from version 5.005_03 to 5.8 on a 4.8-RELEASE FreeBSD VPS (virtual private server). I did a 'pkg_add perl-5.8.0_7.tgz' but I then removed it because I was getting this error: /usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol "nl_langinfo" I then decided to dowload the source and compile it myself, but some of the tests fail: == Failed Test Stat Wstat Total Fail Failed List of Failed --- /ext/IPC/SysV/ipcsysv.t 78 1996816 16 100.00% 1-16 /ext/IPC/SysV/t/msg.t 78 19968 99 100.00% 1-9 /ext/IPC/SysV/t/sem.t 78 1996810 10 100.00% 1-10 /lib/IPC/SysV.t 78 1996816 16 100.00% 1-16 /lib/Net/Ping/t/110_icmp_inst.t 255 65280 21 50.00% 2 45 tests and 414 subtests skipped. Failed 5/712 test scripts, 99.30% okay. 52/68476 subtests failed, 99.92% okay. == These are the failure messages: t/op/taint...# shmget failed: Function not implemented # msgget failed ok ext/IPC/SysV/ipcsysv.msgget failed: Function not implemented FAILED at test 1 ext/IPC/SysV/t/msg...msgget: 78 Function not implemented FAILED at test 1 ext/IPC/SysV/t/sem...semget: 78 Function not implemented FAILED at test 1 lib/IPC/SysV.msgget failed: Function not implemented FAILED at test 1 lib/Net/Ping/t/110_icmp_inst.icmp socket error - Operation not permitted at ../lib/Net/Ping/t/110_icmp_inst.t line 27 FAILED at test 2 I also tried with perl 5.6.1, but make test fails too. Please help me. Regards, -- Gustavo Delfino Caracas, Venezuela ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Test: Toshiba Satellite 2400, 4.7 and X
Hello, I've successfully installed FreeBSD 4.7-stable (now customized to run the sound card) on my Toshiba Satellite notebook; the video (1024x768, 16bit) is running ok, there was a problem with the keyboard (ssomme keyys wass haavving this behhavioor), and solved. I'm listing the X86Config lines that worked for me and the workaround for the keyboard. As I use a USB mouse, I've not paid attention to touchpad pointing device. I'd like to share some info with other users that are using this notebook and FreeBSD. There's one thing that I'm not getting solution: on text mode, my screen is reduced to a small 640x480 square. This LCD doesn't scale, I loss about 1,5 inch of screen on each side. Is there a hack to get text mode running @ 1024x768 ?? Regards, Fernando Monteiro = SOUND DEVICE DRIVER === The Yamaha AC-XG is supported by pcm. Look on the Handbook, there's install intructions. Kernel recompilation is required. KEYBOARD = This was my great trouble. When I was typing fast, some key were bouncing, mmy textts aare beiing shhoweed likee this. =^( My notebook has a US-Int keyboard, but my country language is portuguese, I need to use characters like á é í ... Those Alt-Gs. Some sites suggest to inlcude this option: Option "XkbDisable" on the section where the keyboard is configured on X86Config. But this brings me some trouble, as I can't use Alt-G chars. The workaround is use a small app present in ports, xkbctrl. It's use is undocumented, there's the shortcut: xkbctrl +bounce 50 GRAPHICS This note has a S3 SuperSavage, the S3 Savage driver works fine. Bellow is my # ** # Graphics device section # ** Section "Device" Identifier "savage" Driver "savage" VideoRam4096 EndSection # ** # Screen sections # ** Section "Screen" Identifier "Screen 1" Device "savage" Monitor "My Monitor" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1024x768" ViewPort0 0 EndSubsection EndSection To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Test please reply back to me
On Thursday, 20 March 2003 at 16:55:57 -0800, Alisha Stephanie Outridge wrote: > CAN I SEE THIS? Please don't send test messages to FreeBSD-questions. Greg -- See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
Re: TV test image generator using mencoder
On 01/24/11 17:45, Polytropon wrote: For an amateur TV (ham) project, I'm searching for a convenient way to create a test image DVD or CD using FreeBSD's port mencoder. But I can't get this working. Maybe somebody on list has an idea of how to accomplish this. Input: a still image (jpg, gif, png) of a test picture, as shown on TV, already available Output: a VCD-compatible MPEG video file which shows the picture (which does not change) and plays a 1 kHz testing sound (sine wave); the length of "video" should be given in minutes More: a DVD-compatible output could be provided for better quality if needed The idea is this: With a set of, let's say 5 of such MPEG files, each lasting 10 minutes, I want to burn a VCD because that's what the player in use can play best. If it plays the in "repeat mode", every 10 minutes the test image will change, the sound will stay the same. The VCD can be done with mkvcdfs, I've already done that for other purposes, works good. As this player is a stand-alone device, there's no trouble getting a TV (video or even antenna) signal out of a PC. :-) Background: The test VCD can be played in continuous loop while the transmitter is running. This way, receiving tests can be done, as there is a good testing signal for making statements about video and audio quality. The combination of both, also using something standar- dized (instead of a camera input, showing the town from above or a look out of the window across the street) is buch better for making QUALIFIED statements about signal quality. Adjustments to the equipment can be done more easily. I've tried to do this with mencoder, but can't get any usable results. How would you suggest to get this done? http://mplayerhq.hu The docs cover all that, and mencoder can output in vcd or dvd format. ___ 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"
Emulators to test non-x86 FreeBSD ports?
Hello list, are there any emulators out there that can run the non-x86 versions of FreeBSD on a FreeBSD/i386 or FreeBSD/amd64 host? I'm especially interested in trying FreeBSD/sparc64 port, but I'd also like to test the FreeBSD/powerpc and the FreeBSD/arm ports on an emulator, before seeking real hardware. Oh, and btw, what kind of affordable SPARC-based desktops with newish SPARC processors (i.e. above UltraSparc IIIi) would you recommend for testing? I've read this page: http://www.freebsd.org/platforms/sparc.html but I'm at a loss as to what vendor, model etc. to get. Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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"
dump/restore (to DVD+R) test failure
Hello, It took reading the source code of a backup front-end to figure out that "incremental backups" are not the same thing as "multiple incremental backups on the same medium; spilling over to the next disk if necessary." As the handbook (section 18.12.1) says, dump has quirks due to its design dating back to 1975. Optical write-once media was punch tape or cards. Seeking to the middle of the media was time consuming, so daily tapes were simply written from the beginning, then rewound. So, knowing this, I decided to test a full dump and restore to DVD+R media, following the example in the dump(8) man page. I suspect that the example was written with DVD-R in mind, but according to wikipedia, http://en.wikipedia.org/wiki/DVD-R#Recordable_DVD_capacity_comparison the smaller DVD+R media can handle the example in dump(8) with 184 2048 byte blocks to spare (implying the example intended 3576 spare sectors). The package for the DVD media just says "4.7 GB" with only 2 significant digits. I used the following command for the dump: $/sbin/dump -0u -L -C16 -B4589840 -P 'growisofs -Z -dvd-compat /dev/cd0=/dev/fd/0' /home Growisofs said 4700372992 bytes were written on the first disk (my notes don't record exactly which disk that was). That works out to 4590208kiB or 2295104 sectors. Edit: This matches the Wikipedia number; I assumed it to included zero padding I tried the restore on a fresh freeBSD 8.0 install with no user accounts created (and atapicam not yet enabled): dusty# cd /home #restore -r -P 'dd if=/dev/acd0 of=/dev/fd/1 bs=2048 count=2294920' warning: ./.snap: File exists expected next file 706561, got 4 unknown tape header type -365754194 abort? [yn] n resync restore, skipped 162 blocks expected next file 847904, got 0 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x10 ascq=0x00 dd: /dev/acd0: Input/output error 2294208+0 records in 2294208+0 records out 4698537984 bytes transferred in 2781.175375 secs (1689407 bytes/sec) Mount tape volume 2 Enter ``none'' if there are no more tapes otherwise enter tape name (default: dd if=/dev/acd0 of=/dev/fd/1 bs=2048 count=2294920) unknown tape header type -54549208 abort? [yn] n resync restore, skipped 464 blocks expected next file 5040133, got 0 1201264+0 records in 1201264+0 records out 2460188672 bytes transferred in 1330.121340 secs (1849597 bytes/sec) dusty# The "unknown header type" errors appear to be unrelated to the major read error reported at the end to the first disk. I suspect those may be corruption caused by a buffer underrun or local vibration. Questions: 1. How do I determine which files (if any) are affected? is verbose mode required for that? 2. It appears the first disk lost 712 sectors of data (and a total of 896 sectors of capacity) with that read error. Should I just burn the disks 1024-4096 sectors short? 3. What is the best way to verify dumps at dump time? I still have the data on another disk. I can restore it with dd if need be. I verified the newfs command appears to create a ".snap" directory by default now. Regards, James Phillips ___ 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"
Are kernel stress test results displayed online?
Before one of the releases, I remember, kernel stress tests results were online. Now I can't find them. Are they run? (I guess they must be.) Particularly would be interesting to see tests for FreeBSD 8.1-RC2, FreeBSD 8.0-STABLE and FreeBSD-9.0. Also does stress test only cover kernel or device drivers as well? Thanks, Yuri ___ 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: Apsfilter setup test page does nothing ...
Kiffin Gish wrote: > I am trying to get my HP Deskjet 720C working via the parallel port lpt0. > > After running through the apsfilter setup program and configuring all > the required stuff, I choose T) Print a test page, but nothing happens, > namely: > > Ok to print testpage? [y/n] y > > Creating test page... > > real0m5.208s > user0m1.358s > sys 0m0.336s > > Printing test page... > -rw-r--r-- 1 root wheel 104370928 Oct 1 17:44 > /tmp/apsfilter1140/test_page.aps > > ...and then nothing. > > the tmp-file is created but what now? > > lpd is running: > > [EMAIL PROTECTED] ps -aux | grep lpd > root 396 0.0 0.2 1364 940 ?? Is5:13PM 0:00.01 > /usr/sbin/lpd > > Any ideas? > You may be having interupt storm issues. Try adding this to /boot/device.hints: hint.ppc.0.flags="0x20" -- Best regards, Chris Never eat prunes when you are famished. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apsfilter setup test page does nothing ...
Chris wrote: Kiffin Gish wrote: I am trying to get my HP Deskjet 720C working via the parallel port lpt0. After running through the apsfilter setup program and configuring all the required stuff, I choose T) Print a test page, but nothing happens, namely: Ok to print testpage? [y/n] y Creating test page... real0m5.208s user0m1.358s sys 0m0.336s Printing test page... -rw-r--r-- 1 root wheel 104370928 Oct 1 17:44 /tmp/apsfilter1140/test_page.aps ...and then nothing. the tmp-file is created but what now? lpd is running: [EMAIL PROTECTED] ps -aux | grep lpd root 396 0.0 0.2 1364 940 ?? Is5:13PM 0:00.01 /usr/sbin/lpd Any ideas? You may be having interupt storm issues. Try adding this to /boot/device.hints: hint.ppc.0.flags="0x20" Tried your suggestion but still nothing. Just out of curiosity I checked the /var/log/lpd-errs file and found this: Oct 1 21:34:11 laptop pnm2ppa[931]: main(): Could not open PNM input file Could that mean something? -- Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apsfilter setup test page does nothing ...
On Saturday 01 October 2005 17:02, Kiffin Gish wrote: > I am trying to get my HP Deskjet 720C working via the parallel port lpt0. > > After running through the apsfilter setup program and configuring all > the required stuff, I choose T) Print a test page, but nothing happens, > namely: > > Ok to print testpage? [y/n] y > > Creating test page... > > real0m5.208s > user0m1.358s > sys 0m0.336s > > Printing test page... > -rw-r--r-- 1 root wheel 104370928 Oct 1 17:44 > /tmp/apsfilter1140/test_page.aps > > ...and then nothing. > > the tmp-file is created but what now? > > lpd is running: > > [EMAIL PROTECTED] ps -aux | grep lpd > root 396 0.0 0.2 1364 940 ?? Is5:13PM 0:00.01 > /usr/sbin/lpd > > Any ideas? Is there a driver for the 720C now? last time I looked it wasn't supported (quite some time ago now) mainly due to being a "winprinter" ie no inbuilt inteligence. -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apsfilter setup test page does nothing ...
On Sun, 2005-10-02 at 00:06 +0100, dgmm wrote: > On Saturday 01 October 2005 17:02, Kiffin Gish wrote: > > I am trying to get my HP Deskjet 720C working via the parallel port lpt0. > > > > After running through the apsfilter setup program and configuring all > > the required stuff, I choose T) Print a test page, but nothing happens, > > namely: > > > > Ok to print testpage? [y/n] y > > > > Creating test page... > > > > real 0m5.208s > > user0m1.358s > > sys 0m0.336s > > > > Printing test page... > > -rw-r--r-- 1 root wheel 104370928 Oct 1 17:44 > > /tmp/apsfilter1140/test_page.aps > > > > ...and then nothing. > > > > the tmp-file is created but what now? > > > > lpd is running: > > > > [EMAIL PROTECTED] ps -aux | grep lpd > > root 396 0.0 0.2 1364 940 ?? Is5:13PM 0:00.01 > > /usr/sbin/lpd > > > > Any ideas? > > Is there a driver for the 720C now? last time I looked it wasn't supported > (quite some time ago now) mainly due to being a "winprinter" ie no inbuilt > inteligence. > Yes there is and it is called ppa/720 according to the install script. -- Kiffin Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Apsfilter setup test page does nothing ...
On Sunday 02 October 2005 12:47, Kiffin Gish wrote: > On Sun, 2005-10-02 at 00:06 +0100, dgmm wrote: > > Is there a driver for the 720C now? last time I looked it wasn't > > supported (quite some time ago now) mainly due to being a "winprinter" ie > > no inbuilt inteligence. > > Yes there is and it is called ppa/720 according to the install script. Thanks. I've got one here and it's been a good workhorse on the Windows box. It'll be nice to have it accessable from FreeBSD too :-) -- Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"