Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
Virtualization installations and techniques
»
Pfsense 2.0beta5 on Hyper-V - Single to dual core
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Pfsense 2.0beta5 on Hyper-V - Single to dual core (Read 3053 times)
0 Members and 1 Guest are viewing this topic.
PistolPete
Jr. Member
Offline
Posts: 37
Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
on:
January 17, 2011, 12:35:57 pm »
Hi All,
I've been running 2.0 for a little while in Hyper-V and not getting the performance I was expecting.
I've been watching the CPU utilisation and noticed it's really high when I start to crack up the speed (even tho the CPU is more than double the clock speed of the old hardware firewall I used without issues) so I have decided to allocate the VM 2 CPUs instead of one.
All is well, except whilst Pfsense reports that it has 2 CPUs, but barely touches one of them (CPU0) and leave CPU1 struggling.
Do I need to reinstall Pfsense or can I get it to start using the other CPU properly?
Pete
Logged
berniem
Jr. Member
Offline
Posts: 29
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #1 on:
January 18, 2011, 01:36:56 pm »
Well, since pfSense does ask you whether you're running a single CPU or multi, it's a safe bet (including also your emperical observation(s) that the second virtual CPU is being ignored) that you'd have to install again.
Logged
PistolPete
Jr. Member
Offline
Posts: 37
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #2 on:
January 21, 2011, 08:53:44 am »
Not the answer I was hoping for
Oh well - something else to add to my every growing 'to do' list.
Logged
jimp
Administrator
Hero Member
Offline
Posts: 12808
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #3 on:
January 21, 2011, 10:20:42 am »
No need to reinstall to switch kernels.
http://doc.pfsense.org/index.php/Switching_Kernels
Logged
Need help fast?
Commercial Support
!
Co-Author of
pfSense: The Definitive Guide
. - Check the
Doc Wiki
for FAQs.
Do not PM for help!
Donate to the project
|
My Wish List
PistolPete
Jr. Member
Offline
Posts: 37
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #4 on:
January 21, 2011, 04:17:03 pm »
Thanks - came just in time. I came in here as I couldn't remember the location of my start script and I spotted this.
However, still getting the same problem - one CPU almost rammed and the other at 2-3% and throughput still all over the place.
I reckon it's probably due to the crap virtual NICs.
Sawpped back to my old Watchguard and can max my line again - Time for a hardware upgrade and to forget Hyper-V
Logged
Kharcoff
Newbie
Offline
Posts: 14
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #5 on:
January 26, 2011, 08:37:00 pm »
As I managed to get it working, will give a piece of advice, just save your current configuration by going to Diagnostics>Restore/Backup and get an iso from the latest release and re-install it, it takes 5 minutes max, and you can after just restore your backup to have everything in place. Just pay attention to create the VM with two cpus, legacy network adapters, enough memory (1gb), is better than try to adjust your current install. Oh, don;t forget that on Hyper-V and on 2.0, every time you boot the machine (after updates), or manually, you have to restart the interfaces, by going on the Hyper-V manager, opening the VM and selecting the Shell and then enter this:
ifconfig <name of your interface0> down
ifconfig <name of your interface0> up
ifconfig <name of your interface1> down
ifconfig <name of your interface1> up
in my case interfaces are de0, de1.
Good luck!
K
Logged
PistolPete
Jr. Member
Offline
Posts: 37
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #6 on:
January 28, 2011, 06:12:28 pm »
I'm already running legacy adaptors, but will it seriously need 1GB ram?? I've got plenty in the Hyper-V server so it's not an issue.
Update: Still the same.
Logged
AlbinoPenguin
Newbie
Offline
Posts: 5
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #7 on:
January 29, 2011, 12:48:50 pm »
hmm, i am watching this thread with great interest, i was going to invest in a hyper-v server and run pfsense on it; but i have read a few posts now stating there are bandwidth issues, is this the case with all hyper-v servers? or just a misconfiguration?
thanks.
Logged
berniem
Jr. Member
Offline
Posts: 29
Re: Pfsense 2.0beta5 on Hyper-V - Single to dual core
«
Reply #8 on:
January 29, 2011, 05:23:54 pm »
It must vary from config to config because when I run pfSense under Hyper-V, I do see a bit of a performance hit, but not like what others are reporting. I also have never had to do any of the interface down/up hacks that some seem to need.
I guess it's very much ymmv. :-)
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...