Re: mysql scaling questions



On Tue, Dec 04, 2007 at 04:40:55AM -0500, Mike Tancsa wrote:
At 04:22 AM 12/4/2007, Gergely CZUCZY wrote:
On Sat, Dec 01, 2007 at 04:06:55PM -0500, Mike Tancsa wrote:
At 03:56 PM 12/1/2007, Gergely CZUCZY wrote:
I don't quite understand the question. It's the very same box, with
a dualboot configuration.

Fire up the 3ware controller's RAID management software and make sure the same write caching strategy is set for FreeBSD and Linux. The driver my
default to different values.

i.e. under "controller settings" make sure "write cache" and "queuing" are the same values for linux and freebsd.
I fail to see such an option, not under the 3ware BIOS software, nor in the tw_cli interface.

Could you be more specific on this?

Note: in the BIOS i've seen WC turned on for all units, and there were no
OS-specific options.


Hi,
Its not in the bios, but in the management daemon. On FreeBSD, go to /usr/ports/sysutils/3dm and install the daemon. Start up 3dm2, point
your browser to https://127.0.0.1:888 and login. Go to management menu and look at "controller settings" and there will be the values of write cache
and queuing and storsav. Make sure the values set there, are the same on Linux and FreeBSD. You can download the LINUX version from 3ware's website.
Thank you very much, I've made it worked. In both FreeBSD and Linux the write cache seems to be turned on in the web-based management. However, I still don't think this is OS-specific, since I see no OS-specific options, and 3ware makes the devices available through SCSI, and WC is handled differently there.



Sincerely,

Gergely Czuczy
mailto: gergely.czuczy@xxxxxxxxxxx

--
Weenies test. Geniuses solve problems that arise.

Attachment: pgp5QGfXwTGnq.pgp
Description: PGP signature



Relevant Pages

  • linux compat layer for device drivers.
    ... I have been doing some work on building a linux compatibility ... layer to help porting linux device drivers to FreeBSD. ... This archive contains some headers and source files to help ... and then build a working driver for FreeBSD. ...
    (freebsd-arch)
  • Re: Generic Kernel API
    ... > entire OS in case the driver was buggy. ... Sure, it's easy to map malloc in FreeBSD to kmalloc in Linux, ...
    (freebsd-current)
  • Digital-tv card drivers and API discussion
    ... > FreeBSD does not yet have any dvb-devices and I don't have any prior ... > driver development experience, I have a couple of questions for you. ... > 2) As linux kernel is GPL-licensed, I cannot just port the linux driver ... I'm able to watch DVB programs converted from MPEG TS substreams to MPEG ...
    (freebsd-arch)
  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)
  • Re: Using -current on a Fujitsu Lifebook N5010 (no Atheros 802.11, no Ethernet, + hard freezes)
    ... > Linux, which is the UNIX that I would normally install. ... > With the version of the ath driver in CURRENT, ... FreeBSD would store that information in what is called an mbuf tag. ... Official QOS support in the kernel does not exist yet. ...
    (freebsd-current)