Re: Zfs encryption property for freebsd 8.3

2013-09-03 Thread Alan Somers
On Tue, Sep 3, 2013 at 9:01 AM, Florent Peterschmitt
 wrote:
> Le 03/09/2013 16:53, Alan Somers a écrit :
>> GELI is full-disk encryption.  It's far superior to ZFS encryption.
>
> Yup, but is there a possibility to encrypt a ZFS volume (not a whole
> pool) with a separate GELI partition?

You mean encrypt a zvol with GELI and put a file system on that?  I
suppose that would work, but I bet that it would be slow.

>
> Also, in-ZFS encryption would be a nice thing if it could work like an
> LVM/LUKS where each logical LVM volume can be encrypted or not and have
> its own crypt key.

My understanding is that this is exactly how Oracle's ZFS encryption
works.  Each ZFS filesystem can have its own key, or be in plaintext.
Every cryptosystem involves a tradeoff between security and
convenience, and ZFS encryption goes fairly hard toward convenience.
In particular, Oracle decided that encrypted files must be
deduplicatable.  A necessary result is that they are trivially
vulnerable to watermarking attacks.

https://blogs.oracle.com/darren/entry/zfs_encryption_what_is_on

>
> I saw that Illumos has ZFS encrytion in the TODO list.
>
> --
> Florent Peterschmitt   | Please:
> flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
> +33 (0)6 64 33 97 92   |  * Send PDF for documents.
> http://florent.peterschmitt.fr |  * Trim your quotations. Really.
> Proudly powered by Open Source | Thank you :)
>
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Zfs encryption property for freebsd 8.3

2013-09-03 Thread Florent Peterschmitt
Le 03/09/2013 16:53, Alan Somers a écrit :
> GELI is full-disk encryption.  It's far superior to ZFS encryption.

Yup, but is there a possibility to encrypt a ZFS volume (not a whole
pool) with a separate GELI partition?

Also, in-ZFS encryption would be a nice thing if it could work like an
LVM/LUKS where each logical LVM volume can be encrypted or not and have
its own crypt key.

I saw that Illumos has ZFS encrytion in the TODO list.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: Zfs encryption property for freebsd 8.3

2013-09-03 Thread Alan Somers
On Tue, Sep 3, 2013 at 6:22 AM, Florent Peterschmitt
 wrote:
> Le 03/09/2013 14:14, Emre Çamalan a écrit :
>> Hi,
>> I want to encrypt some disk on my server with Zfs encryption property but it 
>> is not available.
>
> "That would require ZFS v30. As far as I am aware Oracle has not
> released the code under CDDL."

Oracle's ZFS encryption is crap anyway.  It works at the filesystem
level, not the pool level, so a lot of metadata is in plaintext; I
don't remember how much exactly.  It's also highly vulnerable to
watermarking attacks.

>
> From http://forums.freebsd.org/showthread.php?t=30036
>
> So you can use ZFS pools on GELI volumes, it can be a good start. I not
> play with it.

GELI is full-disk encryption.  It's far superior to ZFS encryption.

>
> --
> Florent Peterschmitt   | Please:
> flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
> +33 (0)6 64 33 97 92   |  * Send PDF for documents.
> http://florent.peterschmitt.fr |  * Trim your quotations. Really.
> Proudly powered by Open Source | Thank you :)
>
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Zfs encryption property for freebsd 8.3

2013-09-03 Thread Florent Peterschmitt
Le 03/09/2013 14:14, Emre Çamalan a écrit :
> Hi, 
> I want to encrypt some disk on my server with Zfs encryption property but it 
> is not available.

"That would require ZFS v30. As far as I am aware Oracle has not
released the code under CDDL."

From http://forums.freebsd.org/showthread.php?t=30036

So you can use ZFS pools on GELI volumes, it can be a good start. I not
play with it.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Zfs encryption property for freebsd 8.3

2013-09-03 Thread Emre Çamalan
Hi, 
I want to encrypt some disk on my server with Zfs encryption property but it is 
not available.

Are there anybody have got an experience about this?


[url]http://docs.oracle.com/cd/E23824_01/html/821-1448/gkkih.html#scrolltoc[/url]
[url]http://www.oracle.com/technetwork/articles/servers-storage-admin/manage-zfs-encryption-1715034.html[/url]

These are good explanations but I got an error and output shows all property;


[root@HP ~]# zpool status
  pool: output
 state: ONLINE
  scan: none requested
config:

NAMESTATE READ WRITE CKSUM
output  ONLINE   0 0 0
  ad0s1eONLINE   0 0 0

errors: No known data errors
[root@HP ~]# zfs create -o encryption=on output/home
cannot create 'output/home': invalid property 'encryption'
[root@HP ~]# zfs get encryption
bad property list: invalid property 'encryption'
usage:
get [-rHp] [-d max] [-o "all" | field[,...]] [-t type[,...]] [-s 
source[,...]]
<"all" | property[,...]> [filesystem|volume|snapshot] ...

The following properties are supported:

PROPERTY   EDIT  INHERIT   VALUES

availableNO   NO   
clones   NO   NO   [,...]
compressratioNO   NO   <1.00x or higher if compressed>
creation NO   NO   
defer_destroyNO   NO   yes | no
mounted  NO   NO   yes | no
origin   NO   NO   
refcompressratio  NO   NO   <1.00x or higher if compressed>
referenced   NO   NO   
type NO   NO   filesystem | volume | snapshot
used NO   NO   
usedbychildren   NO   NO   
usedbydatasetNO   NO   
usedbyrefreservation  NO   NO   
usedbysnapshots  NO   NO   
userrefs NO   NO   
written  NO   NO   
aclinherit  YES  YES   discard | noallow | restricted | 
passthrough | passthrough-x
aclmode YES  YES   discard | groupmask | passthrough | 
restricted
atime   YES  YES   on | off
canmountYES   NO   on | off | noauto
casesensitivity  NO  YES   sensitive | insensitive | mixed
checksumYES  YES   on | off | fletcher2 | fletcher4 | sha256
compression YES  YES   on | off | lzjb | gzip | gzip-[1-9] | zle
copies  YES  YES   1 | 2 | 3
dedup   YES  YES   on | off | verify | sha256[,verify]
devices YES  YES   on | off
execYES  YES   on | off
jailed  YES  YES   on | off
logbias YES  YES   latency | throughput
mlslabelYES  YES   
mountpoint  YES  YES| legacy | none
nbmand  YES  YES   on | off
normalizationNO  YES   none | formC | formD | formKC | formKD
primarycacheYES  YES   all | none | metadata
quota   YES   NO| none
readonlyYES  YES   on | off
recordsize  YES  YES   512 to 128k, power of 2
refquotaYES   NO| none
refreservation  YES   NO| none
reservation YES   NO| none
secondarycache  YES  YES   all | none | metadata
setuid  YES  YES   on | off
sharenfsYES  YES   on | off | share(1M) options
sharesmbYES  YES   on | off | sharemgr(1M) options
snapdir YES  YES   hidden | visible
syncYES  YES   standard | always | disabled
utf8only NO  YES   on | off
version YES   NO   1 | 2 | 3 | 4 | 5 | current
volblocksize NO  YES   512 to 128k, power of 2
volsize YES   NO   
vscan   YES  YES   on | off
xattr   YES  YES   on | off
userused@... NO   NO   
groupused@...NO   NO   
userquota@...   YES   NO| none
groupquota@...  YES   NO| none
written@   NO   NO   

Sizes are specified in bytes with standard units such as K, M, G, etc.

User-defined properties can be specified by using a name containing a colon (:).

The {user|group}{used|quota}@ properties must be appended with
a user or group specifier of one of these forms:
POSIX name  (eg: "matt")
POSIX id(eg: "126829")
SMB name@domain (eg: "matt@sun")
SMB SID (eg: "S-1-234-567-89")
[root@HP ~]# 
-

How can I use or add encryption property to FreeBsd 8.3?
___
freeb

Re: HP ILO FreeBSD 8.3 Installation problem

2013-07-08 Thread Emre Çamalan
SOLUTION:
Hi,
USB memstick img file is solution for me. 
I try FreeBSD-8.3-RELEASE-amd64-memstick.img.
I downloaded this img file and copy to USB, not burn it to USB.
Then attach to İLO such as USB virtual image then sysinstall start, BUT I 
selected installation from usb install NOT CD/DVD installation.

thanks for your answers.



04.07.2013, 17:58, "Emre Çamalan" :
> Hi,
> I'm trying to install FreeBSD with an HP ILO 4 advanced, web interface. I 
> tried to install FreeBSD 8.2, FreeBSD 8.3 and FreeBSD 8.4. I tried to use 
> acd0 and cd0 as media. I got the same result. Details about the problem I 
> attach pictures.
>
> ERROR: I'm trying to add freebsd8.3iso from ILO such as virtual drive not 
> from cd or dvd.
>
> Error: mounting /dev/acd0 on /dist: Input/output error (5)
>
> other ERROR:
> Unable to initialize selected media. Would you like to adjust your media 
> configuration and try again?
>
> ,
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

HP ILO FreeBSD 8.3 Installation problem

2013-07-04 Thread Emre Çamalan
Hi,
I'm trying to install FreeBSD with an HP ILO 4 advanced, web interface. I tried 
to install FreeBSD 8.2, FreeBSD 8.3 and FreeBSD 8.4. I tried to use acd0 and 
cd0 as media. I got the same result. Details about the problem I attach 
pictures.

ERROR: I'm trying to add freebsd8.3iso from ILO such as virtual drive not from 
cd or dvd.

Error: mounting /dev/acd0 on /dist: Input/output error (5)

other ERROR:
Unable to initialize selected media. Would you like to adjust your media 
configuration and try again?

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

Re: FreeBSD 8.3

2012-07-15 Thread Wojciech Puchar

being a lot like using a poor wireless mouse.

My thanks to everyone who took time to help me.


by the way anyone know WHY BIOS is over control of that CPU feature?
It is quite scary to know that my FreeBSD system isn't really under 
FreeBSD control.

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


Re: FreeBSD 8.3

2012-07-15 Thread Doug Barton
On 07/15/2012 02:39, Mike Meyer wrote:
> On Sat, 14 Jul 2012 13:29:59 -0700
> Doug Barton  wrote:
> 
>> For the OP, make sure you have the latest BIOS. I had a similar problem
>> with vt-x and it was solved by a later BIOS upgrade.
> 
> And *that* solved the problem. The performance is much better, now
> being a lot like using a poor wireless mouse.
> 
> My thanks to everyone who took time to help me.

I'm glad to help, and more glad that it was that simple of a solution. :)

Doug

-- 

Change is hard.



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


Re: FreeBSD 8.3

2012-07-15 Thread Mike Meyer
On Sat, 14 Jul 2012 13:29:59 -0700
Doug Barton  wrote:

> For the OP, make sure you have the latest BIOS. I had a similar problem
> with vt-x and it was solved by a later BIOS upgrade.

And *that* solved the problem. The performance is much better, now
being a lot like using a poor wireless mouse.

My thanks to everyone who took time to help me.

http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Bernhard Fröhlich
On Sa., 14. Jul. 2012 12:11:41 CEST, Mike Meyer  wrote:

> I just set up a system designed to handle lots of VBox VM's: a 6-core
> SandyBridge processor with 32GB of ram on a FreeBSD 8.3-STABLE host.
> 
> Unfortunately, once I got it set up, I found that VBox guest
> performance simply sucks. The *mouse* isn't responsive. Linux guests
> see lots of "CPU Locked" errors.

Does the VM use multiple vCPUs? Does reducing to one vcpu help? I have seen a 
lot of instabilities and problems in the past when using more than one vcpu. 
Where is that cpu locked reported? You could also try to build the vbox port 
with debug option enabled and look at VBox.log which gives probably useful 
information in case there are soft errors that cause the slowdown or if some of 
the vt-x features were incorrectly detected and vbox had to fallback to the 
recompiler (=slow).

> Googling turns up lots of problems with VBox on SandyBridge: Mac's
> running on 64 bit kernels have this problem - running on 32 bit
> kernels helps. Turning off Intel's SpeedStep has been reported to
> help. Turning off VT-X in the guest - if it's a 32-bit guest -
> helps. The last one is the only one that actually helped me.

Just to be sure which vbox version are we talking about? You could try 
emulators/virtualbox-ose-legacy to verify if it is a regression of 4.1.x.

> I was wondering if anyone here had run into and solved similar
> problems? Or if they were running a similar system, and didn't run
> into that problem? Especially anyone running 9.0 instead of 8.X

I've not heard about that before so it wasn't reported at least.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Wojciech Puchar

i would rather bet on linux addon kernel modules you have to install.


Are you talking about the guest additions? They're already installed
(on a VM that was running on an older Core 2 CPU). Performance sucks.


something must be wrong with linux interacting with virtualbox.

Won't help you as i never used linux on it, and actually at all for long 
time.


In windows you have to install "guest additions" without this it is 
plain terrible.


I haven't managed to get through an install on a 64-bit windows system


Windows 7 64-bit installs fine. FreeBSD 8.3, vbox 4.0.12


sandy bridge?


Yes, I'm sure that every guest OS I've tried on a 64 bit guest
sucks. I'm busy recreating 32-bit versions of the 64-bit guests where
I can.


maybe. i didn't do very detailed tests. and don't use 64-bit guest in 
production.



problems with latency you describe


Could you send me the system settings (VT-X, PAE, etc.) you used for
this?
Everything that is possible enable in BIOS, FreeBSD/amd64 8.3-stable 
(like month old or so), virtualbox 4.0.12


no fancy tricks, custom kernel but nothing special.

If you need more ask on priv.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Warren Block

On Sat, 14 Jul 2012, Warren Block wrote:

In a VM with stock settings (Linux 64-bit), Ubuntu 12.04 LTS Desktop Live CD 
works okay, installed also seems to work okay.  The mouse is a little draggy 
but usable, like using a wireless mouse.  kern.hz is set to 100 on the host 
(9-stable, er 9.1-BETA1, amd64).  This is without guest additions.  Trying 
the VirtualBox menu "install guest additions" made it crash.


The only mouse problem I saw was the mouse pointer disappearing when over 
some preferences icons.


Switched to XUbuntu because the menus were irritating in plain Ubuntu. 
No serious problems there either, and at least the package manager is 
locatable.

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


Re: FreeBSD 8.3

2012-07-14 Thread Doug Barton
For the OP, make sure you have the latest BIOS. I had a similar problem
with vt-x and it was solved by a later BIOS upgrade.

hth,

Doug

-- 

Change is hard.



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


Re: FreeBSD 8.3

2012-07-14 Thread Adam Vande More
On Sat, Jul 14, 2012 at 2:27 PM, Mike Meyer  wrote:
>
> 64-bit Ubuntu LTS 12.04. I moved a VM from the previous system, where
> it worked fine (same build of FreeBSD, same build of VirtualBox). The
> OS seems to be irrelevant. Windows XP and 7 and mumble all have this
> problem, *if* I have VT-X enabled in VirtualBox. If I disable VT-X,
> the ones I have tested so far worked fine. I'm still getting 32-bit
> builds of some of them, as you can't turn VT-X off in a 64-bit guest.


If possible, set VM to single cpu.  Also not sure how you migrated
machines.  Occasionally the VM export/import functionality has
produced silliness.  Try creating new VM from scratch then attaching
existing VM disk(s) to it.



-- 
Adam Vande More
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Warren Block

On Sat, 14 Jul 2012, Mike Meyer wrote:


On Sat, 14 Jul 2012 13:13:50 -0600 (MDT)
Warren Block  wrote:

On Sat, 14 Jul 2012, Mike Meyer wrote:
Can you give a specific Linux version that has problems?  I'm willing to
download and test it on this i5/9-stable/amd64 system.  Haven't noticed
any problems, but I only occasionally boot Ubuntu in a VM for a little
bit.


64-bit Ubuntu LTS 12.04. I moved a VM from the previous system, where
it worked fine (same build of FreeBSD, same build of VirtualBox). The
OS seems to be irrelevant. Windows XP and 7 and mumble all have this
problem, *if* I have VT-X enabled in VirtualBox. If I disable VT-X,
the ones I have tested so far worked fine. I'm still getting 32-bit
builds of some of them, as you can't turn VT-X off in a 64-bit guest.


In a VM with stock settings (Linux 64-bit), Ubuntu 12.04 LTS Desktop 
Live CD works okay, installed also seems to work okay.  The mouse is a 
little draggy but usable, like using a wireless mouse.  kern.hz is set 
to 100 on the host (9-stable, er 9.1-BETA1, amd64).  This is without 
guest additions.  Trying the VirtualBox menu "install guest additions" 
made it crash.


The only mouse problem I saw was the mouse pointer disappearing when 
over some preferences icons.

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


Re: FreeBSD 8.3

2012-07-14 Thread Mike Meyer
On Sat, 14 Jul 2012 13:13:50 -0600 (MDT)
Warren Block  wrote:
> On Sat, 14 Jul 2012, Mike Meyer wrote:
> Can you give a specific Linux version that has problems?  I'm willing to 
> download and test it on this i5/9-stable/amd64 system.  Haven't noticed 
> any problems, but I only occasionally boot Ubuntu in a VM for a little 
> bit.

64-bit Ubuntu LTS 12.04. I moved a VM from the previous system, where
it worked fine (same build of FreeBSD, same build of VirtualBox). The
OS seems to be irrelevant. Windows XP and 7 and mumble all have this
problem, *if* I have VT-X enabled in VirtualBox. If I disable VT-X,
the ones I have tested so far worked fine. I'm still getting 32-bit
builds of some of them, as you can't turn VT-X off in a 64-bit guest.

Thanks,
 http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Warren Block

On Sat, 14 Jul 2012, Mike Meyer wrote:


I just set up a system designed to handle lots of VBox VM's: a 6-core
SandyBridge processor with 32GB of ram on a FreeBSD 8.3-STABLE host.

Unfortunately, once I got it set up, I found that VBox guest
performance simply sucks. The *mouse* isn't responsive. Linux guests
see lots of "CPU Locked" errors.


Can you give a specific Linux version that has problems?  I'm willing to 
download and test it on this i5/9-stable/amd64 system.  Haven't noticed 
any problems, but I only occasionally boot Ubuntu in a VM for a little 
bit.

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


Re: FreeBSD 8.3

2012-07-14 Thread Mike Meyer
On Sat, 14 Jul 2012 20:27:11 +0200 (CEST)
Wojciech Puchar  wrote:
> > would have asked about that. My problem is sucky virtualbox
> > performance, on any guest that has VT-X emulation enabled (which means
> > all 64 bit guests).
> i would rather bet on linux addon kernel modules you have to install.

Are you talking about the guest additions? They're already installed
(on a VM that was running on an older Core 2 CPU). Performance sucks.

> In windows you have to install "guest additions" without this it is plain 
> terrible.

I haven't managed to get through an install on a 64-bit windows system
yet to try that. However, that Linux doesn't
Linux, or for the 32-bit

> >> Windows runs great (as for windows of course) under VBox.
> > Not for me. *Every* 64-bit guest OS has sucky performance. Linux,
> Are you sure with two level pagetables featured in modern CPUs including 
> sandy bridge?

Yes, I'm sure that every guest OS I've tried on a 64 bit guest
sucks. I'm busy recreating 32-bit versions of the 64-bit guests where
I can.

> > Are you only running 32-bit guests? Are you running on 9.x or 8.x?
> for production - yes (6 instances of windows XP). Virtualbox does never 
> make main workload for me, it is just addon. On FreeBSD 8.3.

Could you tell me if they all have VT-X disabled?

> But i've tried Windows 7 64-bit and it worked fine. didn't see any 
> problems with latency you describe

Could you send me the system settings (VT-X, PAE, etc.) you used for
this?

Thanks,
 http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Wojciech Puchar

Wojciech Puchar  wrote:


CPU: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (3100.03-MHz K8-class CPU)


If that the one normally listed as E3-1220? If so, it's a Sandy Bridge

yes.


processor. If not, then I have not idea what it is.


so it is. it have working AES-NI.

I am such a kind of person that i am completely not on-time with 
marketing, namings, etc..


I just asked what CPUs will support AES-NI which is important for me (geli 
speedup) and got that in Dell Server ;)



Virtualbox works great with windoze on that machine.


FreeBSD have linux emulation. i think you should use it instead of VBox if
you need to run linux environments under FreeBSD.


Yes, it does. And I use it when I can. However, there are applications
that it won't run, because of missing kernel features. And of course,
it does absolutely not good at all if you need to run something other
than Linux.



would have asked about that. My problem is sucky virtualbox
performance, on any guest that has VT-X emulation enabled (which means
all 64 bit guests).


i would rather bet on linux addon kernel modules you have to install.

In windows you have to install "guest additions" without this it is plain 
terrible.



Windows runs great (as for windows of course) under VBox.


Not for me. *Every* 64-bit guest OS has sucky performance. Linux,


Are you sure with two level pagetables featured in modern CPUs including 
sandy bridge?



Are you only running 32-bit guests? Are you running on 9.x or 8.x?


for production - yes (6 instances of windows XP). Virtualbox does never 
make main workload for me, it is just addon. On FreeBSD 8.3.


But i've tried Windows 7 64-bit and it worked fine. didn't see any 
problems with latency you describe

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


Re: FreeBSD 8.3

2012-07-14 Thread Jason Hellenthal


On Sat, Jul 14, 2012 at 06:11:41AM -0400, Mike Meyer wrote:
> I just set up a system designed to handle lots of VBox VM's: a 6-core
> SandyBridge processor with 32GB of ram on a FreeBSD 8.3-STABLE host.
> 
> Unfortunately, once I got it set up, I found that VBox guest
> performance simply sucks. The *mouse* isn't responsive. Linux guests
> see lots of "CPU Locked" errors.

Try booting the linux VBox with HZ=100. This should greatly improve your
performance.

> 
> Googling turns up lots of problems with VBox on SandyBridge: Mac's
> running on 64 bit kernels have this problem - running on 32 bit
> kernels helps. Turning off Intel's SpeedStep has been reported to
> help. Turning off VT-X in the guest - if it's a 32-bit guest -
> helps. The last one is the only one that actually helped me.
> 
> I was wondering if anyone here had run into and solved similar
> problems? Or if they were running a similar system, and didn't run
> into that problem? Especially anyone running 9.0 instead of 8.X!
> 
> 
> 
>Thanks,
> 
> -- 
> Mike Meyerhttp://www.mired.org/
> Independent Software developer/SCM consultant, email for more information.
> 
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> ___
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

-- 

 - (2^(N-1))
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Mike Meyer
On Sat, 14 Jul 2012 19:56:22 +0200 (CEST)
Wojciech Puchar  wrote:

> CPU: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (3100.03-MHz K8-class CPU)

If that the one normally listed as E3-1220? If so, it's a Sandy Bridge
processor. If not, then I have not idea what it is.

> > Unfortunately, once I got it set up, I found that VBox guest
> > performance simply sucks. The *mouse* isn't responsive. Linux guests
> > see lots of "CPU Locked" errors.
> FreeBSD have linux emulation. i think you should use it instead of VBox if 
> you need to run linux environments under FreeBSD.

Yes, it does. And I use it when I can. However, there are applications
that it won't run, because of missing kernel features. And of course,
it does absolutely not good at all if you need to run something other
than Linux.

Sucky Linux emulation performance is not my problem. If it were, I
would have asked about that. My problem is sucky virtualbox
performance, on any guest that has VT-X emulation enabled (which means
all 64 bit guests).

> Windows runs great (as for windows of course) under VBox.

Not for me. *Every* 64-bit guest OS has sucky performance. Linux,
Windows, and others. The only one that reports any problems is Linux -
it reports the "CPU Locked" errors. The others just suck. If I cut the
memory size down and create 32-bit guests, they all seem to run
OK. But I want to run systems for which there aren't 32-bit
distributions.

Are you only running 32-bit guests? Are you running on 9.x or 8.x?

   Thanx,
http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: FreeBSD 8.3

2012-07-14 Thread Wojciech Puchar

SandyBridge processor with 32GB of ram on a FreeBSD 8.3-STABLE host.


i am using virtualbox but no linux guest, only windows.


the newest CPU i have is
CPU: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (3100.03-MHz K8-class CPU)


Unfortunately, once I got it set up, I found that VBox guest
performance simply sucks. The *mouse* isn't responsive. Linux guests
see lots of "CPU Locked" errors.


FreeBSD have linux emulation. i think you should use it instead of VBox if 
you need to run linux environments under FreeBSD.


jails are your friend too.

Windows runs great (as for windows of course) under VBox.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


FreeBSD 8.3

2012-07-14 Thread Mike Meyer
I just set up a system designed to handle lots of VBox VM's: a 6-core
SandyBridge processor with 32GB of ram on a FreeBSD 8.3-STABLE host.

Unfortunately, once I got it set up, I found that VBox guest
performance simply sucks. The *mouse* isn't responsive. Linux guests
see lots of "CPU Locked" errors.

Googling turns up lots of problems with VBox on SandyBridge: Mac's
running on 64 bit kernels have this problem - running on 32 bit
kernels helps. Turning off Intel's SpeedStep has been reported to
help. Turning off VT-X in the guest - if it's a 32-bit guest -
helps. The last one is the only one that actually helped me.

I was wondering if anyone here had run into and solved similar
problems? Or if they were running a similar system, and didn't run
into that problem? Especially anyone running 9.0 instead of 8.X!



   Thanks,
http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"