Re: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-11-30 Thread Thomas Backman
On Nov 30, 2009, at 9:47 AM, O. Hartmann wrote:

 I'm just wondering what's wrong with FreeBSD 8.0/amd64 when I read the 
 Benchmarks on Phoronix.org's website. Especially FreeBSD's threaded I/O shows 
 in contrast to all claims that have been to be improoved the opposite.
Corrected link: 
http://www.phoronix.com/scan.php?page=articleitem=freebsd8_benchmarksnum=1

And yeah, quite honestly: disk scheduling in FreeBSD appears to suck... The 
only reason I'm not switching from Linux. :(

Regards,
Thomas

(PS. See my thread about horrible console latency during disk IO in the 
archives, very related. DS.)___
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: Phoronix Benchmarks: Waht's wrong with FreeBSD 8.0?

2009-11-30 Thread Thomas Backman
On Nov 30, 2009, at 12:38 PM, O. Hartmann wrote:

 Thomas Backman wrote:
 On Nov 30, 2009, at 9:47 AM, O. Hartmann wrote:
 I'm just wondering what's wrong with FreeBSD 8.0/amd64 when I read the 
 Benchmarks on Phoronix.org's website. Especially FreeBSD's threaded I/O 
 shows in contrast to all claims that have been to be improoved the opposite.
 Corrected link: 
 http://www.phoronix.com/scan.php?page=articleitem=freebsd8_benchmarksnum=1
 And yeah, quite honestly: disk scheduling in FreeBSD appears to suck... The 
 only reason I'm not switching from Linux. :(
 Regards,
 Thomas
 (PS. See my thread about horrible console latency during disk IO in the 
 archives, very related. DS.)
 
 Hello Thomas.
 I recall myself having had similar problems during heavy disk I/O (UFS and 
 ZFS) with stuck console, stuck clients and especially stuck X11-clients. The 
 discussion was really 'hot', but in the end no clear statement was made 
 whether this is disk-i/o related or a deeper problem in the scheduler.
 
 Sorry for the lack of the link, I thought Phoronix is well known ...
 
 Oliver
That's too bad, re: the scheduling. It seems to be a quite universal problem, 
yet I haven't seen much effort spent on working on the problem. :/

Re: phoronix, I commented mostly because the site is .com and not .org, so I 
came to a parked domain when I clicked your link. :)
Also, I figured linking directly to the article will help the archives.

Regards,
Thomas___
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: Serial console trouble: loader and login works, but no kernel messages

2009-08-26 Thread Thomas Backman

On Aug 23, 2009, at 14:18, Thomas Backman wrote:

First off: Not subscribed to this list, please make sure to Cc me if  
you don't reply directly. :)


Anyway, I finally got my null modem cable, and plugged in in between  
a machine running 8.0-BETA2 and one running WinXP using Hyperterminal.


My settings:

/boot/loader.conf:
boot_multicons=YES
boot_serial=YES
comconsole_speed=115200
console=comconsole,vidconsole

/etc/ttys:
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0   /usr/libexec/getty std.115200 vt100   on secure

/boot.config (which is read properly):
-Dh -S115200

Anything wrong in the above?
Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit,  
and no flow control (if that's the correct translation to English).


On the serial console, I go from the screen with the FreeBSD logo,  
with single-user options etc. (which works fine), and then nothing,  
until a login tty pops up (which also works fine). The main, if not  
only, reason I want a serial console is to be able to use it for  
single user mode, DDB, and so on.
All kernel messages, and all rc messages are seen only on the  
graphics card; the serial console receives nothing but the / 
boot.config: -Dh ..., the logo screen, and then the login screen,  
during startup and *nothing* at all during shutdown. Also, I'm able  
to login and use the system both via the serial console and via the  
graphics card/keyboard... Is this supposed to be? I'm not  
complaining, I just got the impression it was one or the other.


Any advice on how to get the kernel/rc messages etc. to the serial  
console (only or as well)?


Regards,
Thomas
OK, so to rule out any installation-related problems, I booted from a  
bootonly install CD (a May ~5th snapshot of 8.0-CURRENT), with boot - 
h -S115200. Same thing: bootloader stuff on the serial console,  
kernel messages on the local computer only - and very slowly, at that,  
I'd say about one line a second. You could very easily see the  
characters being written to the screen.


Am I the only one having these problems? It'd suck to buy a rather  
expensive (probably because they're pretty rare these days, plus I had  
to order from abroad) null modem cable and have it be completely  
useless.


Regards,
Thomas
___
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: Serial console trouble: loader and login works, but no kernel messages

2009-08-26 Thread Thomas Backman

On Aug 26, 2009, at 18:04, Danny Braniss wrote:


you need to set
hint.uart.0.flags=0x10

danny
I already tried that (in /boot/loader.conf); it shows up in dmesg (and  
didn't before), but still no luck.


Regards/thanks,
Thomas
___
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: Serial console trouble: loader and login works, but no kernel messages

2009-08-26 Thread Thomas Backman

On Aug 26, 2009, at 18:16, Mike Tancsa wrote:

Or, if you want to use loader.conf, try

hw.uart.console=io:0x3f8

   ---Mike

That solved it! Thanks a lot!! :)

Regards,
Thomas
___
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: Serial console trouble: loader and login works, but no kernel messages

2009-08-24 Thread Thomas Backman


On Aug 23, 2009, at 23:18, Carl Chave wrote:


Did you try booting with the keyboard disconnected from the FreeBSD
machine?  Perhaps the vidconsole is favored when a keyboard is
detected?

On a linux box I had, I would get serial output from Grub, lose it
during kernel load and then get a login once the OS was up, much like
what you describe.  I had to add a kernel argument to my Grub config
so the kernel would output to the serial port.

Did you look here:
http://www.freebsd.org/doc/en/articles/console-server/freebsd.html

I think 7.2 might be what you are missing but I can't check it myself.

On Sun, Aug 23, 2009 at 3:13 PM, Thomas  
Backmanseren...@exscape.org wrote:


On Aug 23, 2009, at 20:25, Tim Judd wrote:


On 8/23/09, Thomas Backman seren...@exscape.org wrote:


First off: Not subscribed to this list, please make sure to Cc me  
if

you don't reply directly. :)

Anyway, I finally got my null modem cable, and plugged in in  
between a
machine running 8.0-BETA2 and one running WinXP using  
Hyperterminal.


My settings:

/boot/loader.conf:
boot_multicons=YES
boot_serial=YES
comconsole_speed=115200
console=comconsole,vidconsole

/etc/ttys:
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd  
etc.

ttyu0   /usr/libexec/getty std.115200 vt100   on secure

/boot.config (which is read properly):
-Dh -S115200

Anything wrong in the above?
Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop  
bit, and

no flow control (if that's the correct translation to English).

On the serial console, I go from the screen with the FreeBSD logo,
with single-user options etc. (which works fine), and then nothing,
until a login tty pops up (which also works fine). The main, if not
only, reason I want a serial console is to be able to use it for
single user mode, DDB, and so on.
All kernel messages, and all rc messages are seen only on the  
graphics

card; the serial console receives nothing but the /boot.config: -
Dh ..., the logo screen, and then the login screen, during startup
and *nothing* at all during shutdown. Also, I'm able to login and  
use

the system both via the serial console and via the graphics card/
keyboard... Is this supposed to be? I'm not complaining, I just got
the impression it was one or the other.

Any advice on how to get the kernel/rc messages etc. to the serial
console (only or as well)?

Regards,
Thomas



Do you use the VGA/vidconsole at all?

A serial-only device (think soekris, ALIX/WRAP boards) that has no  
VGA

will have different requirements than a serial-only device will.

Your loader.conf statements are different than mine in the  
definition

that you have more than I do to enable serial.

My loader.conf just has one statement:
 console=comconsole  - to feed ALL bootloaders, kernel probing, rc
startup on the serial device.  /etc/ttys defines the login lines.

Though trial and error, I found when you use a dual-setup:
comconsole,vidconsole, the first one (comconsole) will get rc
output, and vidconsole won't.

Of course, you're on 8.0 and I don't run BETAs.  So the 8.0 BETA  
might

still be having com port oddities, plus I noticed your ttys line is
ttyu0, not ttyd0.  Did 8.0 change the serial line device?



To enable a serial-only device in my setups:
/boot/loader.conf:
 console=comconsole

/boot.config:
 -D

/etc/ttys:
# enable serial line, cons25 or vt100, depending if I'm originating
from a bsd or windows box.



Enabling dual-setups should be just the loader.conf change to dual
console.


HTH



(Sorry for the lack of inline replies.)

I do have a graphics card, and ideally I'd like to be able to use  
both, but
serial has higher priority (with serial access, I can use minicom  
on another
*nix box and essentially ssh into DDB, and stuff like that - right  
now I
have to borrow a monitor, and write info down manually if needed,  
turning my

head back and forth).

I've tried lots of combinations of console=, including simply
'console=comconsole' and/or combinations of that and -D, -h- -Dh  
and -P in

/boot.config.
The extra lines in loader.conf are from the handbook, which says  
they're
needed to use comconsole_speed. It seems they do the same thing as - 
D and

-h, though.

Oh, and re: /etc/ttys: Yup, it's ttyuX when using uart(4) which  
seems to be
the default now. Actually, since my last buildworld half an hour  
ago I'm on

9.0-CURRENT. ;)
Also, I made sure to set flags to 0x10 for the serial port as per the
handbook (although I did it using loader.conf, not the kernel  
config);
before the change, dmesg didn't mention any flags, but it now does.  
Didn't

help squat, though.

Though trial and error, I found when you use a dual-setup:
comconsole,vidconsole, the first one (comconsole) will get rc
output, and vidconsole won't.
This doesn't mirror my experience; comconsole and  
comconsole,vidconsole
appears to be just the same for me. I've never gotten anything  
except the
boot loader and a login prompt over to the serial

Serial console trouble: loader and login works, but no kernel messages

2009-08-23 Thread Thomas Backman
First off: Not subscribed to this list, please make sure to Cc me if  
you don't reply directly. :)


Anyway, I finally got my null modem cable, and plugged in in between a  
machine running 8.0-BETA2 and one running WinXP using Hyperterminal.


My settings:

/boot/loader.conf:
boot_multicons=YES
boot_serial=YES
comconsole_speed=115200
console=comconsole,vidconsole

/etc/ttys:
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0   /usr/libexec/getty std.115200 vt100   on secure

/boot.config (which is read properly):
-Dh -S115200

Anything wrong in the above?
Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit, and  
no flow control (if that's the correct translation to English).


On the serial console, I go from the screen with the FreeBSD logo,  
with single-user options etc. (which works fine), and then nothing,  
until a login tty pops up (which also works fine). The main, if not  
only, reason I want a serial console is to be able to use it for  
single user mode, DDB, and so on.
All kernel messages, and all rc messages are seen only on the graphics  
card; the serial console receives nothing but the /boot.config: - 
Dh ..., the logo screen, and then the login screen, during startup  
and *nothing* at all during shutdown. Also, I'm able to login and use  
the system both via the serial console and via the graphics card/ 
keyboard... Is this supposed to be? I'm not complaining, I just got  
the impression it was one or the other.


Any advice on how to get the kernel/rc messages etc. to the serial  
console (only or as well)?


Regards,
Thomas
___
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: Serial console trouble: loader and login works, but no kernel messages

2009-08-23 Thread Thomas Backman


On Aug 23, 2009, at 20:25, Tim Judd wrote:


On 8/23/09, Thomas Backman seren...@exscape.org wrote:

First off: Not subscribed to this list, please make sure to Cc me if
you don't reply directly. :)

Anyway, I finally got my null modem cable, and plugged in in  
between a

machine running 8.0-BETA2 and one running WinXP using Hyperterminal.

My settings:

/boot/loader.conf:
boot_multicons=YES
boot_serial=YES
comconsole_speed=115200
console=comconsole,vidconsole

/etc/ttys:
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0   /usr/libexec/getty std.115200 vt100   on secure

/boot.config (which is read properly):
-Dh -S115200

Anything wrong in the above?
Hyperterminal is set to 115200 bps, 8 bits, no parity, 1 stop bit,  
and

no flow control (if that's the correct translation to English).

On the serial console, I go from the screen with the FreeBSD logo,
with single-user options etc. (which works fine), and then nothing,
until a login tty pops up (which also works fine). The main, if not
only, reason I want a serial console is to be able to use it for
single user mode, DDB, and so on.
All kernel messages, and all rc messages are seen only on the  
graphics

card; the serial console receives nothing but the /boot.config: -
Dh ..., the logo screen, and then the login screen, during startup
and *nothing* at all during shutdown. Also, I'm able to login and use
the system both via the serial console and via the graphics card/
keyboard... Is this supposed to be? I'm not complaining, I just got
the impression it was one or the other.

Any advice on how to get the kernel/rc messages etc. to the serial
console (only or as well)?

Regards,
Thomas



Do you use the VGA/vidconsole at all?

A serial-only device (think soekris, ALIX/WRAP boards) that has no VGA
will have different requirements than a serial-only device will.

Your loader.conf statements are different than mine in the definition
that you have more than I do to enable serial.

My loader.conf just has one statement:
 console=comconsole  - to feed ALL bootloaders, kernel probing, rc
startup on the serial device.  /etc/ttys defines the login lines.

Though trial and error, I found when you use a dual-setup:
comconsole,vidconsole, the first one (comconsole) will get rc
output, and vidconsole won't.

Of course, you're on 8.0 and I don't run BETAs.  So the 8.0 BETA might
still be having com port oddities, plus I noticed your ttys line is
ttyu0, not ttyd0.  Did 8.0 change the serial line device?



To enable a serial-only device in my setups:
/boot/loader.conf:
 console=comconsole

/boot.config:
 -D

/etc/ttys:
# enable serial line, cons25 or vt100, depending if I'm originating
from a bsd or windows box.



Enabling dual-setups should be just the loader.conf change to dual  
console.



HTH



(Sorry for the lack of inline replies.)

I do have a graphics card, and ideally I'd like to be able to use  
both, but serial has higher priority (with serial access, I can use  
minicom on another *nix box and essentially ssh into DDB, and stuff  
like that - right now I have to borrow a monitor, and write info down  
manually if needed, turning my head back and forth).


I've tried lots of combinations of console=, including simply  
'console=comconsole' and/or combinations of that and -D, -h- -Dh and  
-P in /boot.config.
The extra lines in loader.conf are from the handbook, which says  
they're needed to use comconsole_speed. It seems they do the same  
thing as -D and -h, though.


Oh, and re: /etc/ttys: Yup, it's ttyuX when using uart(4) which seems  
to be the default now. Actually, since my last buildworld half an hour  
ago I'm on 9.0-CURRENT. ;)
Also, I made sure to set flags to 0x10 for the serial port as per the  
handbook (although I did it using loader.conf, not the kernel config);  
before the change, dmesg didn't mention any flags, but it now does.  
Didn't help squat, though.


Though trial and error, I found when you use a dual-setup:
comconsole,vidconsole, the first one (comconsole) will get rc
output, and vidconsole won't.
This doesn't mirror my experience; comconsole and  
comconsole,vidconsole appears to be just the same for me. I've never  
gotten anything except the boot loader and a login prompt over to the  
serial line - at least not at speed/settings that the client is set up  
to receive.


I'm gonna try 9600 bps soon just to be sure it isn't that, but seeing  
how many others have mentioned using -S115200 I doubt it'll help.


Thanks/regards,
Thomas
___
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