Re: DigitalOcean offers VMs with FreeBSD!

2015-01-16 Thread Nikolay Denev
On Fri, Jan 16, 2015 at 7:13 AM, Lyndon Nerenberg lyn...@orthanc.ca wrote:

 Beware that they (DO) do not at all grok ipv6.  They hand out /124s, or
 something equally silly.


My DO instance has /64 and I have no problems with using ipv6 to login.

--Nikolay
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-16 Thread Marcin Cieslak
On Fri, 16 Jan 2015, Jamie Landeg-Jones wrote:

 Bernhard Fröhlich de...@bluelife.at wrote:
 
 I don't know what's unusual with the DO virtualisation, but vultr just
 works like a normal server (though they do restrict to virtio devices
 where applicable rather than emulated harware)

They use Avahi for autodisovery of the IPv4 link layer address
to further boostrap the configuration. Unfortuately avahi-autoipd
seems to needs lots of dependencies, including gobject-introspection.

bsd-cloudinit is written in Python and they use it to get a proper
IPv4 addresses. This configuration gets sucked into rc.

On Fri, 16 Jan 2015, Nikolay Denev wrote:

 On Fri, Jan 16, 2015 at 7:13 AM, Lyndon Nerenberg lyn...@orthanc.ca wrote:
 
  Beware that they (DO) do not at all grok ipv6.  They hand out /124s, or
  something equally silly.
 
 
 My DO instance has /64 and I have no problems with using ipv6 to login.

It's /64 formally here, but I am told only to use 16 (sixteen) addresses
:2000 ... :200f

Sounds like neighbour discovery scalability issues?

//Marcin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-16 Thread Nikolay Denev
On Fri, Jan 16, 2015 at 10:38 AM, Marcin Cieslak sa...@saper.info wrote:

 On Fri, 16 Jan 2015, Jamie Landeg-Jones wrote:

  Bernhard Fröhlich de...@bluelife.at wrote:
 
  I don't know what's unusual with the DO virtualisation, but vultr just
  works like a normal server (though they do restrict to virtio devices
  where applicable rather than emulated harware)

 They use Avahi for autodisovery of the IPv4 link layer address
 to further boostrap the configuration. Unfortuately avahi-autoipd
 seems to needs lots of dependencies, including gobject-introspection.

 bsd-cloudinit is written in Python and they use it to get a proper
 IPv4 addresses. This configuration gets sucked into rc.

 On Fri, 16 Jan 2015, Nikolay Denev wrote:

  On Fri, Jan 16, 2015 at 7:13 AM, Lyndon Nerenberg lyn...@orthanc.ca
 wrote:
 
   Beware that they (DO) do not at all grok ipv6.  They hand out /124s, or
   something equally silly.
  
 
  My DO instance has /64 and I have no problems with using ipv6 to login.

 It's /64 formally here, but I am told only to use 16 (sixteen) addresses
 :2000 ... :200f

 Sounds like neighbour discovery scalability issues?

 //Marcin


On the timecounter sysctl:

unixbench with TSC-low:
 INDEX VALUES
TESTBASELINE RESULT  INDEX

Dhrystone 2 using register variables116700.0 25145739.3 2154.7
Double-Precision Whetstone  55.0 4021.2  731.1
Execl Throughput43.0 2334.0  542.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 1309.03.3
File Copy 256 bufsize 500 maxblocks   1655.0  353.02.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 4771.08.2
Pipe Throughput  12440.0  1179433.3  948.1
Pipe-based Context Switching  4000.0   259704.9  649.3
Process Creation   126.0 8010.6  635.8
Shell Scripts (8 concurrent) 6.0  538.8  898.0
System Call Overhead 15000.0   987460.5  658.3
 =
 FINAL SCORE 189.7

unixbench with HPET(default):
 INDEX VALUES
TESTBASELINE RESULT  INDEX

Dhrystone 2 using register variables116700.0 24582513.8 2106.5
Double-Precision Whetstone  55.0 3941.6  716.7
Execl Throughput43.0 2275.7  529.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 1102.02.8
File Copy 256 bufsize 500 maxblocks   1655.0  259.01.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 4604.07.9
Pipe Throughput  12440.0  1186331.6  953.6
Pipe-based Context Switching  4000.0   255294.8  638.2
Process Creation   126.0 6451.6  512.0
Shell Scripts (8 concurrent) 6.0  445.8  743.0
System Call Overhead 15000.0   971475.1  647.7
 =
 FINAL SCORE 173.0



--Nikolay
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 15.01.2015 14:29, Lev Serebryakov wrote:

 https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/

  I didn't see this news on mailing lists :)
 But here are some thread about FreeBSD is way slower than Linux in
these virtual installations

https://news.ycombinator.com/item?id=487

- -- 
// Lev Serebryakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJUt9yXXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePU9YP/22oUffmkkbbd0KUbJgDQqDi
PaohQ/LiFs3elpIQboQXuMIQtYqcAEE/3IXskc/ShHfnKNm0V9V1gPkn9wpaAWza
cbOPwwE8RStpN52z6wKpAy6FM1aXkuL4idDc6ErHfIP4VDW4sgaJhBb0hnIsSWO1
745MTWJg8bldr5Kqzr/8mFDgCuNWHZi/QTNHSggDni566T0xn7hEbPbQoiALpZT8
3b5I8KGu/4VnvT7vmZmj65HyX9N9MtllfbpmCv9iQAJd+Tf6kTiURiFv/6vJDN0m
1cD5j5EZU+mJOjfU9n3dbP3M2xIhbVOZBrUtD23S2CeZtHPtZgcgt19aBQ2ZjTlx
TcpykUDoIfAwmD8bjNe8mc06rn6MM7QYnKTxUN9WdkVpTzu+GcA2g00ET4fY8EnF
4R36/vnula2S8f5ON+MrBmtQ/vdiHc7w1QNxq41McegZzmkF4lcjHVS39MNAiXaf
eG6fQHaEibVGBUBsPX5FjUWIWugAG6CFDX435AN2bx0WM7ocgQd+ITEWIVytG68c
jqpnGF15crFzZCEYpeHUhrieYrzIHqxarrkWMBefLVxflricB/alPeYc+jNT6wcm
K5MUcBVXfWTcUVP0SgXNAnWY8Tmvwfbmb9MkNPudIOFjDBc3pEPICW23uviNizLt
OoYcVXcOj+ALB27alZi1
=uggy
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Mark Martinec

But here are some thread about FreeBSD is way slower than Linux
in these virtual installations



https://news.ycombinator.com/item?id=487


May be IOPS quotation? Can you test with dd and custom kernel with
MAXPHYS=1048576 ?


Don't know about DO, but networking over virtio is also slower
under VirtualBox (FreeBSD guest and host), compared to the
emulated em0.

  Mark
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Slawa Olhovchenkov
On Thu, Jan 15, 2015 at 06:28:23PM +0300, Lev Serebryakov wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 On 15.01.2015 14:29, Lev Serebryakov wrote:
 
  https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/
 
   I didn't see this news on mailing lists :)
  But here are some thread about FreeBSD is way slower than Linux in
 these virtual installations
 
 https://news.ycombinator.com/item?id=487

May be IOPS quotation?
Can you test with dd and custom kernel with MAXPHYS=1048576 ?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 15.01.2015 18:44, Slawa Olhovchenkov wrote:

 https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/


 
I didn't see this news on mailing lists :)
 But here are some thread about FreeBSD is way slower than Linux
 in these virtual installations
 
 https://news.ycombinator.com/item?id=487
 
 May be IOPS quotation? Can you test with dd and custom kernel with
 MAXPHYS=1048576 ?
 I haven't Digital Ocean instance(s) right now :)

- -- 
// Lev Serebryakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJUt+Q7XxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePvnMQAJviVsAGTxG0yFOqmBFDVAda
N/HQ2Px5PBPwYBPmyY0GFPIRUW6dpRbiAKuchDTOxmOrRwjBj+2NNN03ktR7qzIk
vD0xz3q72Jw/5CfnpUqb8/HXwRGX/6wPX+YVK4L54RFco3QlslyzFJ8T+lGUQ5wA
Fk+Gus1ibz5NNsSoIhsbb/QJzbEhMVj2DaSoMm0D4MAI+0/cl/GmtWUSgY0y6N7t
/w3NR1Bon3d4FblQOGqdF/VovN5tX2YInMttD5s+Av/OQTxX+VPfp3qx41BcC3pa
0CFp0le4TQp980vJuUbZ1RmJycp7AfkYU4v89foDcqNlyX9KIqBTBQoadVl37jud
fBcAOmc7/wu4y1CVSY6btOFuOaAUFY5vglIixXqabJsJyFc3ymx6yP1MNOjUfTzK
k/azAZis7DnV8YsyUQbJv5rl9VH2G3qwDpwB7ae9dG2kA2zicrN0cTfEIYJkrrFe
VF+oyzR7PyRGQ98/lE4ewLiHW2zWUyzo+YJp1MJTkWIvWAp7Q/FyyaayXQ9Kju4a
FtQMwD46lvPhQKsg5245Sn3Fg18HJmrWwGM5Qr3axs2aOKNvj5fPuStelaKQVYIi
oIG30WSZcK/RnUuS5rvPgLzOM+O27ez3oj861cd3itYR8yz9qun5PDBAiwZgf2T+
7ROGjnFANJvQtr5pUBXV
=Tpza
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Marcin Cieslak
On Thu, 15 Jan 2015, Bryan Venteicher wrote:

 On Thu, Jan 15, 2015 at 9:44 AM, Slawa Olhovchenkov s...@zxy.spb.ru wrote:
 
  On Thu, Jan 15, 2015 at 06:28:23PM +0300, Lev Serebryakov wrote:
 
   -BEGIN PGP SIGNED MESSAGE-
   Hash: SHA512
  
   On 15.01.2015 14:29, Lev Serebryakov wrote:
  
   
  https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/
   
 I didn't see this news on mailing lists :)
But here are some thread about FreeBSD is way slower than Linux in
   these virtual installations
  
   https://news.ycombinator.com/item?id=487
 
  May be IOPS quotation?
  Can you test with dd and custom kernel with MAXPHYS=1048576 ?
 
 
 
 What's the value of kern.timecounter.hardware? It will likely be either
 HPET or ACPI which means there is an VM exit whenever the guest reads from
 the emulated timecounter hardware. That's why I have some WIP to add
 support for KVMCLOCK [1]. I hope to merge those changes to HEAD in a week
 and STABLE shortly after.

 sysctl kern.timecounter.hardware
kern.timecounter.hardware: HPET

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Bryan Venteicher
On Thu, Jan 15, 2015 at 9:44 AM, Slawa Olhovchenkov s...@zxy.spb.ru wrote:

 On Thu, Jan 15, 2015 at 06:28:23PM +0300, Lev Serebryakov wrote:

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA512
 
  On 15.01.2015 14:29, Lev Serebryakov wrote:
 
  
 https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/
  
I didn't see this news on mailing lists :)
   But here are some thread about FreeBSD is way slower than Linux in
  these virtual installations
 
  https://news.ycombinator.com/item?id=487

 May be IOPS quotation?
 Can you test with dd and custom kernel with MAXPHYS=1048576 ?



​What's the value of kern.timecounter.hardware? It will likely be either
HPET or ACPI which means there is an VM exit whenever the guest reads from
the emulated timecounter hardware. That's why I have some WIP to add
support for KVMCLOCK [1]. I hope to merge those changes to HEAD in a week
and STABLE shortly after.

In the meanwhile, not completely foolproof workaround is to use the TSC-low
timecounter source.

[1] -
https://lists.freebsd.org/pipermail/freebsd-arch/2015-January/016587.html



 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Bernhard Fröhlich
On Thu, Jan 15, 2015 at 12:29 PM, Lev Serebryakov l...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512



https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/

 I didn't see this news on mailing lists :)

I had a quick look at it and the result is
quite poor considering the time it took them to get it done.

They had to install quite a few packages (perl, python27, libX11, avahi
...) and modified the stock FreeBSD image quite a bit. At startup they send
an arping otherwise you do not even have network access in their network.
This looks all a bit hackish and error prone. I am really wondering how
long it will take that a regular update breaks their scripts and let's you
back with a non accessible box.

-- 
Bernhard Froehlich
http://www.bluelife.at/
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Marcin Cieslak
On Thu, 15 Jan 2015, Slawa Olhovchenkov wrote:

 On Thu, Jan 15, 2015 at 06:28:23PM +0300, Lev Serebryakov wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA512
  
  On 15.01.2015 14:29, Lev Serebryakov wrote:
  
   https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/
  
I didn't see this news on mailing lists :)
   But here are some thread about FreeBSD is way slower than Linux in
  these virtual installations
  
  https://news.ycombinator.com/item?id=487
 
 May be IOPS quotation?
 Can you test with dd and custom kernel with MAXPHYS=1048576 ?

By default, root is mounted with sync option:

 time dd if=/dev/zero of=/tmp/test bs=64k count=16k
16384+0 records in
16384+0 records out
1073741824 bytes transferred in 57.605991 secs (18639412 bytes/sec)
0.023u 6.128s 0:57.61 10.6% 25+172k 7+81916io 3pf+0w
 sudo mount -o nosync -u /
 
 mount
/dev/gpt/rootfs on / (ufs, local, soft-updates)
devfs on /dev (devfs, local, multilabel)
 time dd if=/dev/zero of=/tmp/test bs=64k count=16k
16384+0 records in
16384+0 records out
1073741824 bytes transferred in 5.135908 secs (209065631 bytes/sec)
0.016u 2.274s 0:05.16 44.1% 24+169k 8+8193io 0pf+0w

//Marcin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Jamie Landeg-Jones
Bernhard Fröhlich de...@bluelife.at wrote:

 I had a quick look at it and the result is
 quite poor considering the time it took them to get it done.

 They had to install quite a few packages (perl, python27, libX11, avahi
 ...) and modified the stock FreeBSD image quite a bit. At startup they send
 an arping otherwise you do not even have network access in their network.
 This looks all a bit hackish and error prone. I am really wondering how
 long it will take that a regular update breaks their scripts and let's you
 back with a non accessible box.

I use http://www.vultr.com/ for FreeBSD - their packages are similarly or
better priced than DO.

With Vultr, you can run their automated install, (which in itself just
automates a typical FreeBSD install - there are no OS hacks) or just
install off an ISO etc.

I don't know what's unusual with the DO virtualisation, but vultr just
works like a normal server (though they do restrict to virtio devices
where applicable rather than emulated harware)

You can even install a windows ISO (as long as you've sideloaded virtio
drivers onto the install disk), or with FreeBSD, it just works

Cheers, Jamie
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Lyndon Nerenberg
Beware that they (DO) do not at all grok ipv6.  They hand out /124s, or 
something equally silly.  


signature.asc
Description: Message signed with OpenPGP using GPGMail


DigitalOcean offers VMs with FreeBSD!

2015-01-15 Thread Lev Serebryakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


 
https://www.digitalocean.com/company/blog/presenting-freebsd-how-we-made-it-happen/

 I didn't see this news on mailing lists :)

- -- 
// Lev Serebryakov AKA Black Lion
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJUt6STXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePp6oP/3yvWOpt83MiEVuoTxZpGuVI
4vpWyv+U9SaDzFNo7HGOO5qI0L1vqe77mzzlqA2bVUcITKx+YckO5gtRdSDh3GtB
FzpHpVHXDD96YacyxYaPFIqnGYAUoeNgX/mcTQz2IYouWWDuRsy17joetXVmtunP
2SFntiAnf8xYYfc/T3Bwjhff+TUgcQhmVH567EUpa2QTtWEesxeISqUj54/JwPzX
1sI0Yy2t293g/udCQxROU1rFqjmjTW6r31iS27IUbwdQtyGXR1EHMMopKXxxOq5x
w1THJyLOQOETTRAYJpEpHgNRmgFZazfvxe6mPDQyuEQ/tuCZgO1WLwPajhy8Ckws
Fa9vQsVyQOFjj5hP1BbGJFtIpc0BMuyXESfABRTBQZsD/SHJzly59wGqgl1lwFQ5
fUb5oDyc07M6jquQo/Pc05cwHxgsRumAYZ1CIxNTR930ShL4mpcYTS6xWlkzm4bA
cqfSZ2FW57RKjWrArI7xOrG83aneHjkwJtNQ/5nLbpmemmRMW9qRzd9YaWkGfmNn
jsnwwS5gmIuLK5GTkprWQ1wBltdV7BiFFNAIRi6OBpM/pmwshOVXHOPJp+9YXCLJ
UfmLedFGSp/J/BESsRmJ1rlt52coy/NY3AxA+z/JW3kgD/EIRdiNSswktTTn9nCR
8bOmQUvmMdQ/bRjlGomh
=shHj
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org