pfSense Gold Subscription

Author Topic: Using a hard-disk in a Watchguard Firebox X750e for cache/log storage  (Read 4082 times)

MacUsers and 1 Guest are viewing this topic.

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11556
  • Karma: +341/-4
    • View Profile
Re: Using a hard-disk in a Watchguard Firebox X750e for cache/log storage
« Reply #30 on: February 01, 2015, 10:47:07 am »
In testing the HD issue I ran that benchmark. Thought my result might ammuse you:
Code: [Select]
[2.2-RELEASE][root@pfSense.localdomain]/root: diskinfo -tv /dev/ada0
/dev/ada0
        512             # sectorsize
        20003880960     # mediasize in bytes (19G)
        39070080        # mediasize in sectors
        0               # stripesize
        0               # stripeoffset
        38760           # Cylinders according to firmware.
        16              # Heads according to firmware.
        63              # Sectors according to firmware.
        32K60131T       # Disk ident.

Seek times:
        Full stroke:      250 iter in  11.840086 sec =   47.360 msec
        Half stroke:      250 iter in   8.878876 sec =   35.516 msec
        Quarter stroke:   500 iter in  15.334866 sec =   30.670 msec
        Short forward:    400 iter in   8.639504 sec =   21.599 msec
        Short backward:   400 iter in   7.131472 sec =   17.829 msec
        Seq outer:       2048 iter in   0.282496 sec =    0.138 msec
        Seq inner:       2048 iter in   1.086055 sec =    0.530 msec
Transfer rates:
        outside:       102400 kbytes in  23.521335 sec =     4353 kbytes/sec
        middle:        102400 kbytes in  20.436978 sec =     5011 kbytes/sec
        inside:        102400 kbytes in  48.862760 sec =     2096 kbytes/sec

Something not right.  ::) Yet:
Code: [Select]
[2.2-RELEASE][root@pfSense.localdomain]/root: dmesg | grep ada
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA MK2018GAP M1.42 A> ATA-5 device
ada0: Serial Number 32K60131T
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 19077MB (39070080 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
Trying to mount root from ufs:/dev/ada0s1a [rw]...

Just a knackered old drive? Works fine though, as long as you're not in a hurry!

Steve

Offline Steve Evans

  • Full Member
  • ***
  • Posts: 137
  • Karma: +10/-0
    • View Profile
Re: Using a hard-disk in a Watchguard Firebox X750e for cache/log storage
« Reply #31 on: February 01, 2015, 11:10:03 am »
Ouch. Not much use as a cache though as it's no faster than fiber broadband!

Steve

Online MacUsers

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Code: [Select]
[2.2-RELEASE][root@pfSense.localdomain]/root: dmesg | grep ada
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA MK2018GAP M1.42 A> ATA-5 device
ada0: Serial Number 32K60131T
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 19077MB (39070080 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
Trying to mount root from ufs:/dev/ada0s1a [rw]...

I was just looking in some old posts - Does it mean you have TRIM enabled on your TOSHIBA MK2018GAP drive?

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11556
  • Karma: +341/-4
    • View Profile
No. I'm pretty sure that device is way too old to support TRIM
TRIM only applies to SSDs anyway.

Steve

Online MacUsers

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
That's what I knew as well but this line in your dmesg:
Quote
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)

made me think otherwise.

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11556
  • Karma: +341/-4
    • View Profile
What part of that implies TRIM?
That's the maximum speed on the interface, which is far, far faster than the drive can manage in this case.  ;)

Steve

Online MacUsers

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Nothing in particular, to be honest. I see Ultra ATA/33 on my x750e as opposed to ATA/100 on yours:

Code: [Select]
[2.2.2-RELEASE][root@wg550.home]/root: dmesg|grep ada1
ada1 at ata0 bus 0 scbus0 target 1 lun 0
ada1: <TOSHIBA MK4026GAX PA102D> ATA-6 device
ada1: Serial Number 65IF3453T
ada1: 33.300MB/s transfers (UDMA2, PIO 8192bytes)
ada1: 38154MB (78140160 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad1

It says ATA-6 device, so I was hoping to see UDMA5 in the next line but UDMA2 is the ATA-4, IIRC. I'm out of sys-admin business for while now, so may be talking rubbish as well.  ;)