Hyper-V over SMB 3.0 poor performance on 1GB NIC's without RDMA
This is a bit of a repost as the last time I tried to troubleshoot this my question got hijacked by people spamming alternative solutions (starwind)
For my own reasons I am currently evaluating Hyper-V over SMB with a view to designing our new production cluster based on this technology. Given our budget and resources a SoFS makes perfect sense.
The problem I have is that in all my testing, as soon as I host a VM's files on a SMB 3.0 server (SoFS or standalone) I am not getting the performance I should over the network.
My testing so far:
4 different decent spec machines with 4-8gb ram, dual/quad core cpu's,
Test machines are mostly Server 2012 R2 with one Windows 8.1 hyper-v host thrown in for extra measure.
Storage is a variety of HD and SSD and are easily capable of handling >100MB/s of traffic and 5k+ IOPS
Have tested storage configurations as standalone, storage spaces (mirrored, spanned and with tiering)
All storage is performing as expected in each configuration.
Multiple 1GB NIC's from broadcom, intel and atheros. The broadcoms are server grade dual port adapters.
Switching has been a combination of HP E5400zl, HP 2810 and even direct connect with crossover cables.
Have tried stand alone NIC's, teamed NIC's and even storage through hyper-v extensible switch.
File copies between machines will easily max out 1GB in any direction.
VM's hosted locally show internal benchmark performance in line with roughly 90% of underlying storage performance.
Tested with dynamic and fixed vhdx's
NIC's have been used in combinations of RSS and TCP offload enabled/disabled.
Whenever I host VM files on a different server from where it is running, I observe the following:
Write speeds within the VM to any attached vhd's are severely effected and run at around 30-50% of 1GB
Read Speeds are not as badly effected but just about manager to hit 70% of 1GB
Random IOPS are not noticeably affected.
Running multiple tests at the same time over the same 1GB links results in the same total through put.
The same results are observed no matter which machine hosts the vm or the vhdx files.
Any host involved in a test will show a healthy amount of cpu time allocated to hardware interupts. On a 6 core 3.8Ghz cpu this is around 5% of total. On the slowest machine (dual core 2.4Ghz) this is roughly 30% of cpu load.
Things I have yet to test:
Gen 1 VM's
VM's running anything other than server 2012 r2
Running the tests on actual server hardware. (hard as most of ours are in production use)
Is there a default QoS or IOPS limit when SMB detects hyper-v traffic? I just can't wrap my head around how all the tests are seeing an identical bottleneck as soon as the storage traffic goes over smb.
What else should I be looking for? There must be something obvious that I am overlooking!
By nature of a SOFS reads are really good, but there is no write cache, SOFS only seems to perform well with Disk mirroring, this improves the write performance and redundancy but halves your disk capacity.
Mirror (RAID1 or RAID10) actually REDUCES number of IOPS. With read every spindle takes part in I/O request processing (assumimg I/O is big enough to cover the stripe) so you multiply IOPS and MBps on amount of spindles you have in a RAID group and all writes
need to go to the duplicated locations that's why READS are fast and WRITES are slow (1/2 of the read performance). This is absolutely basic thing and SoFS layered on top can do nothing to change this.
StarWind iSCSI SAN & NAS
Not wanting to put the cat amongst the pigeons, this isn't strictly true, RAID 1 and 10 give you the best IOP performance of any Raid group, this is why all the best performing SQL Cluster use RAID 10 for most of their storage requirements,
Features
RAID 0
RAID 1
RAID 1E
RAID 5
RAID 5EE
Minimum # Drives
2
2
3
3
4
Data Protection
No Protection
Single-drive
failure
Single-drive
failure
Single-drive
failure
Single-drive
failure
Read Performance
High
High
High
High
High
Write Performance
High
Medium
Medium
Low
Low
Read Performance (degraded)
N/A
Medium
High
Low
Low
Write Performance (degraded)
N/A
High
High
Low
Low
Capacity Utilization
100%
50%
50%
67% - 94%
50% - 88%
Typical Applications
High End Workstations, data
logging, real-time rendering, very transitory data
Operating System, transaction
databases
Operating system, transaction
databases
Data warehousing, web serving,
archiving
Data warehousing, web serving,
archiving
Similar Messages
-
Hyper V over SMB does not work on non-Microsoft Samba servers
I want to use for Hyper V (2012 R2 Standard) over SMB. I tried to move a virtual machine from local storage over to the SMB share and receive the error: "Remote SMB share does not support resiliency."
I have verified the SMB share is SMB 3.0. According to Microsoft, this should be supported:
"Using Hyper-V with SMB has the following requirements:
One or more computers running Windows Server 2012 R2 or Windows Server 2012 with the Hyper-V role installed. You can also use non-Microsoft file servers that implement the SMB 3.0 protocol."
http://technet.microsoft.com/en-us/libr ... 34187.aspx
But according to others, this is an ongoing issue with Samba. (http://www.readynas.com/forum/viewtopic.php?f=119&t=77809)
Microsoft, is this supported or not? If so, what else can I try to get this to work?I understand Samba will always be in catch-up mode, and I would not blame MSFT for developments within Samba. But, Microsoft does specifically state in their support documents "You can also use non-Microsoft file servers that implement the
SMB 3.0 protocol."
The fact the the 3.0.x *nix versions may not in fact include the features Microsoft needs means Hyper V is not in fact able to be used as identified. So, Microsoft should not promote this as being a supported feature. They should simply stop after saying "One
or more computers running Windows Server 2012 R2 or Windows Server 2012 with the Hyper-V role installed."
It's not MSFT problem some people understand SMB spec too "freely"... There are some known working SMB3 non-MSFT implementations (EMC, NetApp and maybe Nutanix) and at least few of them are indeed BASED on an open source SAMBA. But these companies
did a huge amount of work to make their fork-outs from SAMBA actually work. Unfortunately nobody bothered to back-contribute their fixes to original code base. Again, it's not MSFT problem.
StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts. -
Shared nothing live migration over SMB. Poor performance
Hi,
I´m experiencing really poor performance when migrating VMs between newly installed server 2012 R2 Hyper-V hosts.
Hardware:
Dell M620 blades
256Gb RAM
2*8C Intel E5-2680 CPUs
Samsung 840 Pro 512Gb SSD running in Raid1
6* Intel X520 10G NICs connected to Force10 MXL enclosure switches
The NICs are using the latest drivers from Intel (18.7) and firmware version 14.5.9
The OS installation is pretty clean. Its Windows Server 2012 R2 + Dell OMSA + Dell HIT 4.6
I have removed the NIC teams and vmSwitch/vNICs to simplify the problem solving process. Now there is one nic configured with one IP. RSS is enabled, no VMQ.
The graphs are from 4 tests.
Test 1 and 2 are nttcp-tests to establish that the network is working as expected.
Test 3 is a shared nothing live migration of a live VM over SMB
Test 4 is a storage migration of the same VM when shut down. The VMs is transferred using BITS over http.
It´s obvious that the network and NICs can push a lot of data. Test 2 had a throughput of 1130MB/s (9Gb/s) using 4 threads. The disks can handle a lot more than 74MB/s, proven by test 4.
While the graph above doesn´t show the cpu load, I have verified that no cpu core was even close to running at 100% during test 3 and 4.
Any ideas?
Test
Config
Vmswitch
RSS
VMQ
Live Migration Config
Throughput (MB/s)
NTtcp
NTttcp.exe -r -m 1,*,172.17.20.45 -t 30
No
Yes
No
N/A
500
NTtcp
NTttcp.exe -r -m 4,*,172.17.20.45 -t 30
No
Yes
No
N/A
1130
Shared nothing live migration
Online VM, 8GB disk, 2GB RAM. Migrated from host 1 -> host2
No
Yes
No
Kerberos, Use SMB, any available net
74
Storage migration
Offline VM, 8Gb disk. Migrated from host 1 -> host2
No
Yes
No
Unencrypted BITS transfer
350Hi Per Kjellkvist,
Please try to change the "advanced features"settings of "live migrations" in "Hyper-v settings" , select "Compression" in "performance options" area .
Then test 3 and 4 .
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Zfs/nfs poor performance compared to zfs/smb
I setup zfs with sharenfs on my solaris box and i'm having a very poor performance with nfs (about 1-3MB/s).
When i share the same zfs volume with sharesmb performance is very good (about 40-50MB/s) for a single disk zfs volume on a gigabit network.
Both tests where made using MAC OSX 10.5.2 client using a single iso file transfert (about 4Gigs).
I also mount through nfs my MAC client (using apple nfs share) from the solaris box and copy the file to the ZFS volume, nfs performance was very good in this case (45-50MB/s).
Why my solaris zfs/nfs sharing is so slow compared to mac nfs sharing or solaris zfs/smb sharing ?I'm guess your talking about write performance ie your copying the ISO from a local drive to the ZFS/NFS drive.
The write performance of NFS/ZFS has been known to suck for a long time.
First make sure your running the latest solaris version (10U4) or a recent recommended patch set.
If not, upgrade and see if that helps.
Unfortunately, the solaris developers have a (some say overly) strict interpretation of the coherence requirements of the NFS spec and what it implies about caching data in memory and flushing to disk.
This is discussed a little here
and
here
Their position (as I understand it) that their implemation provides the best performance that can be obtained while maintaining adherence with the relevant standards and the fact that every other NFS implementation has streets better performance just means that everyone else is non conforming.
Anyway maybe can try the solution that the "best practices" suggests ie using a local drive as an intent log.
If that doesnt work, try setting zil_disable (�set zfs:zil_disable=1′ to /etc/system).
You will have to weigh the significance of the purported reliability issues of that solution for yourself.
Basically what it comes down to is that if your nfs server crashes and the client doesnt, but keeps cheerfully writing away. Then some of what it wrote maybe lost. Even silently a part in the middle.
One other thing to check, the storage isn't coming off a SAN is it?
If it is you can try "set zfs:zfs_nocacheflush=1" instead of zil_disable. Its a less aggressive variant that can reduce issues with san storage. -
Hi All,
I have users complaining of poor performance for TCP applications over a site to site VPN.
I would like to know if anyone knows what to look for when trying to see if we need to reduce the MTU on each side of the VPN.
I dont want to reconfigure MTU unless I have to because one of the two sites is the centre of the hub and I will most likely have to configure it for all of the other sites if I configure it for the one.
the VPNs run between 5510 devices running 7.08 and 8.21
thanks very much for any help
Regards
Amanda Lalli-CafiniI am having an issue with performance since changing our Linked server connection to SQL 2012. The query in 2008R2 ran in 9 seconds and now it takes around 10 minutes. When I trace the query on the 2 servers, the statement is completely different.
CREATE TABLE [dbo].[PS_OCC_ADDRESS_S](
[EMPLID] [varchar](11) NULL,
[ADDRESS_TYPE] [varchar](4) NULL,
[OCC_ADDR_TYP_DESCR] [varchar](30) NULL,
[ADDRESS1] [varchar](55) NULL,
[ADDRESS2] [varchar](55) NULL,
[ADDRESS3] [varchar](55) NULL,
[CITY] [varchar](30) NULL,
[STATE] [varchar](6) NULL,
[POSTAL] [varchar](12) NULL,
[COUNTY] [varchar](30) NULL,
[COUNTRY] [varchar](3) NULL,
[DESCR] [varchar](30) NULL,
[FERPA] [varchar](1) NULL,
[LASTUPDDTTM] [varchar](75) NULL,
[LASTUPDOPRID] [varchar](30) NULL
) ON [PRIMARY]
Statement:
SELECT EmplId, Address1, Address2, Address3, City, State = substring(State,1,2), Zip = substring(Postal,1,10), County, Country
--INTO tmp_Addr
FROM [Sql03].[DWHCRPT].[dbo].[PS_OCC_ADDRESS_S]
WHERE (Address_Type = 'PERM') and (EmplID IN (
SELECT UserID As EmplID FROM Collegium.dbo.Users
UNION
SELECT EmplID As EmplID FROM Emap.dbo.Applications
UNION
SELECT ID As EmplID FROM HS_Program_Application.dbo.Applications
Any suggestions would be appreciated
SELECT UserID As EmplID FROM Collegium.dbo.Users
into #temp1
UNION
SELECT EmplID As EmplID FROM Emap.dbo.Applications
UNION
SELECT ID As EmplID FROM HS_Program_Application.dbo.Applications
....WHERE (Address_Type = 'PERM') and EmplID IN (select * from #temp1)
Still it does not resolve 9 secs over 10 minutes. Good luck. -
Poor Performance with Converged Fabrics
Hi Guys,
I'm having some serious performance issues with Converged Fabrics in my Windows Server 2012 R2 lab. I'm planning on creating a Hyper-V cluster with 3 nodes. I've built the first node, building and installing/configuring OS and Hyper-V pretty straight forward.
My issue is with Converged Fabrics, I'm absolutely getting very slow performance in the sense of managing the OS, Remote Desktop connections taking very long and eventually times out. Server unable to find a writable domain controller due to slow performance.
If I remove the converged fabric everything is awesome, works as expected. Please note that the cluster hasn't even been built yet and experiencing this poor performance.
Here is my server configuration:
OS: Windows Server 2012 R2
RAM: 64GB
Processor: Intel I7 Gen 3
NICS: 2 X Intel I350-T2 Adapters, supporting SRIOV/VMQ
Updates: All the latest updates applied
Storage:
Windows Server 2012 R2 Storage Spaces
Synology DS1813+
Updates: All the latest updates applied
Below is the script I've written to automate the entire process.
# Script: Configure Hyper-V
# Version: 1.0.2
# Description: Configures the Hyper-V Virtual Switch and
# Creates a Converged Fabric
# Version 1.0.0: Initial Script
# Version 1.0.1: Added the creation of SrIOV based VM Switches
# Version 1.0.2: Added parameters to give the NLB a name, as well as the Hyper-V Switch
param
[Parameter(Mandatory=$true)]
[string]$TeamAdapterName="",
[Parameter(Mandatory=$true)]
[string]$SwitchName="",
[Parameter(Mandatory=$true)]
[bool]$SrIOV=$false
#Variables
$CurrentDate = Get-Date -Format d
$LogPath = "C:\CreateConvergedNetworkLog.txt"
$ManagmentOSIPv4="10.150.250.5"
$ManagmentOS2IPv4="10.250.251.5"
#$CommanGatewayIPv4="10.10.11.254"
$ManagmentDNS1="10.150.250.1"
$ManagmentDNS2="10.150.250.3"
$ManagmentDNS3="10.250.251.1"
$ManagmentDNS4="10.250.251.3"
$ClusterIPv4="10.253.251.1"
$LiveMigrationIPv4="10.253.250.1"
$CSVIPv4="10.100.250.1"
$CSV2IPv4="10.250.100.1"
#Set Excution Policy
Write-Host "Setting policy settings..."
Set-ExecutionPolicy UnRestricted
try
# Get existing network adapters that are online
if($SrIOV)
#$sriov_adapters = Get-NetAdapterSriov | ? Status -eq Up | % Name # Get SRIOV Adapters
$adapters = Get-NetAdapterSriov | ? Status -eq Up | % Name # Get SRIOV Adapters
Enable-NetAdapterSriov $adapters # Enable SRIOV on the adapters
else
$adapters = Get-NetAdapterSriov | % Name
#$adapters = Get-NetAdapter | ? Status -eq Up | % Name
# Create NIC team
if ($adapters.length -gt 1)
Write-Host "$CurrentDate --> Creating NIC team $TeamAdapterName..."
Write-Output "$CurrentDate --> Creating NIC team $TeamAdapterName..." | Add-Content $LogPath
#New-NetLbfoTeam -Name "ConvergedNetTeam" -TeamMembers $adapters -Confirm:$false | Add-Content $LogPath
New-NetLbfoTeam -Name $TeamAdapterName -TeamMembers $adapters -TeamingMode SwitchIndependent -LoadBalancingAlgorithm Dynamic -Confirm:$false | Add-Content $LogPath
else
Write-Host "$CurrentDate --> Check to ensure that at least 2 NICs are available for teaming"
throw "$CurrentDate --> Check to ensure that at least 2 NICs are available for teaming" | Add-Content $LogPath
# Wait for team to come online for 60 seconds
Start-Sleep -s 60
if ((Get-NetLbfoTeam).Status -ne "Up")
Write-Host "$CurrentDate --> The ConvergedNetTeam NIC team is not online. Troubleshooting required"
throw "$CurrentDate --> The ConvergedNetTeam NIC team is not online. Troubleshooting required" | Add-Content $LogPath
# Create a new Virtual Switch
if($SrIOV) #SRIOV based VM Switch
Write-Host "$CurrentDate --> Configuring converged fabric $SwitchName with SRIOV..."
Write-Output "$CurrentDate --> Configuring converged fabric $SwitchName with SRIOV..." | Add-Content $LogPath
#New-VMSwitch "ConvergedNetSwitch" -MinimumBandwidthMode Weight -NetAdapterName "ConvergedNetTeam" -EnableIov $true -AllowManagementOS 0
New-VMSwitch $SwitchName -MinimumBandwidthMode Weight -NetAdapterName $TeamAdapterName -EnableIov $true -AllowManagementOS 0
$CreatedSwitch = $true
else #Standard VM Switch
Write-Host "$CurrentDate --> Configuring converged fabric $SwitchName..."
Write-Output "$CurrentDate --> Configuring converged fabric $SwitchName..." | Add-Content $LogPath
#New-VMSwitch "ConvergedNetSwitch"-MinimumBandwidthMode Weight -NetAdapterName "ConvergedNetTeam" -AllowManagementOS 0
New-VMSwitch $SwitchName -MinimumBandwidthMode Weight -NetAdapterName $TeamAdapterName -AllowManagementOS $false
$CreatedSwitch = $true
if($CreatedSwitch)
#Set Default QoS
Write-Host "$CurrentDate --> Setting default QoS policy on $SwitchName..."
Write-Output "$CurrentDate --> Setting default QoS policy $SwitchName..." | Add-Content $LogPath
#Set-VMSwitch "ConvergedNetSwitch"-DefaultFlowMinimumBandwidthWeight 30
Set-VMSwitch $SwitchName -DefaultFlowMinimumBandwidthWeight 20
#Creating Management OS Adapters (SYD-MGMT)
Write-Host "$CurrentDate --> Creating and configuring virtual NIC for Management OS"
Write-Output "$CurrentDate --> Creating and configuring virtual NIC for Management OS" | Add-Content $LogPath
Add-VMNetworkAdapter -ManagementOS -Name "SYD-MGMT" -SwitchName $SwitchName
Set-VMNetworkAdapter -ManagementOS -Name "SYD-MGMT" -MinimumBandwidthWeight 30 -VmqWeight 80
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "SYD-MGMT" -Access -VlanId 0
#Creating Management OS Adapters (MEL-MGMT)
Write-Host "$CurrentDate --> Creating and configuring virtual NIC for Management OS"
Write-Output "$CurrentDate --> Creating and configuring virtual NIC for Management OS" | Add-Content $LogPath
Add-VMNetworkAdapter -ManagementOS -Name "MEL-MGMT" -SwitchName $SwitchName
Set-VMNetworkAdapter -ManagementOS -Name "MEL-MGMT" -MinimumBandwidthWeight 30 -VmqWeight 80
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "MEL-MGMT" -Access -VlanId 0
#Creating Cluster Adapters
Write-Host "$CurrentDate --> Creating and configuring virtual NIC for Cluster"
Write-Output "$CurrentDate --> Creating and configuring virtual NIC for Cluster" | Add-Content $LogPath
#Add-VMNetworkAdapter -ManagementOS -Name "Cluster" -SwitchName "ConvergedNetSwitch"
Add-VMNetworkAdapter -ManagementOS -Name "HV-Cluster" -SwitchName $SwitchName
Set-VMNetworkAdapter -ManagementOS -Name "HV-Cluster" -MinimumBandwidthWeight 20 -VmqWeight 80
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "HV-Cluster" -Access -VlanId 0
#Creating LiveMigration Adapters
Write-Host "$CurrentDate --> Creating and configuring virtual NIC for LiveMigration"
Write-Output "$CurrentDate --> Creating and configuring virtual NIC for LiveMigration" | Add-Content $LogPath
Add-VMNetworkAdapter -ManagementOS -Name "HV-MIG" -SwitchName $SwitchName
Set-VMNetworkAdapter -ManagementOS -Name "HV-MIG" -MinimumBandwidthWeight 40 -VmqWeight 90
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "HV-MIG" -Access -VlanId 0
#Creating iSCSI-A Adapters
Write-Host "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-A"
Write-Output "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-A" | Add-Content $LogPath
Add-VMNetworkAdapter -ManagementOS -Name "iSCSI-A" -SwitchName $SwitchName
Set-VMNetworkAdapter -ManagementOS -Name "iSCSI-A" -MinimumBandwidthWeight 40 -VmqWeight 100
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "iSCSI-A" -Access -VlanId 0
#Creating iSCSI-B Adapters
Write-Host "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-B"
Write-Output "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-B" | Add-Content $LogPath
Add-VMNetworkAdapter -ManagementOS -Name "iSCSI-B" -SwitchName $SwitchName
Set-VMNetworkAdapter -ManagementOS -Name "iSCSI-B" -MinimumBandwidthWeight 40 -VmqWeight 100
Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "iSCSI-B" -Access -VlanId 0
Write-Host "Waiting 40 seconds for virtual devices to initialise"
Start-Sleep -Seconds 40
#Configure the IP's for the Virtual Adapters
Write-Host "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC"
Write-Output "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC" | Add-Content $LogPath
#New-NetIPAddress -InterfaceAlias "vEthernet (SYD-MGMT)" -IPAddress $ManagmentOSIPv4 -PrefixLength 24 -DefaultGateway $CommanGatewayIPv4
New-NetIPAddress -InterfaceAlias "vEthernet (SYD-MGMT)" -IPAddress $ManagmentOSIPv4 -PrefixLength 24
Set-DnsClientServerAddress -InterfaceAlias "vEthernet (SYD-MGMT)" -ServerAddresses ($ManagmentDNS1, $ManagmentDNS2)
Write-Host "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC"
Write-Output "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC" | Add-Content $LogPath
New-NetIPAddress -InterfaceAlias "vEthernet (MEL-MGMT)" -IPAddress $ManagmentOS2IPv4 -PrefixLength 24
Set-DnsClientServerAddress -InterfaceAlias "vEthernet (MEL-MGMT)" -ServerAddresses ($ManagmentDNS3, $ManagmentDNS4)
Write-Host "$CurrentDate --> Configuring IPv4 address for the Cluster virtual NIC"
Write-Output "$CurrentDate --> Configuring IPv4 address for the Cluster virtual NIC" | Add-Content $LogPath
New-NetIPAddress -InterfaceAlias "vEthernet (HV-Cluster)" -IPAddress $ClusterIPv4 -PrefixLength 24
#Set-DnsClientServerAddress -InterfaceAlias "vEthernet (HV-Cluster)" -ServerAddresses $ManagmentDNS1
Write-Host "$CurrentDate --> Configuring IPv4 address for the LiveMigration virtual NIC"
Write-Output "$CurrentDate --> Configuring IPv4 address for the LiveMigration virtual NIC" | Add-Content $LogPath
New-NetIPAddress -InterfaceAlias "vEthernet (HV-MIG)" -IPAddress $LiveMigrationIPv4 -PrefixLength 24
#Set-DnsClientServerAddress -InterfaceAlias "vEthernet (LiveMigration)" -ServerAddresses $ManagmentDNS1
Write-Host "$CurrentDate --> Configuring IPv4 address for the iSCSI-A virtual NIC"
Write-Output "$CurrentDate --> Configuring IPv4 address for the iSCSI-A virtual NIC" | Add-Content $LogPath
New-NetIPAddress -InterfaceAlias "vEthernet (iSCSI-A)" -IPAddress $CSVIPv4 -PrefixLength 24
#Set-DnsClientServerAddress -InterfaceAlias "vEthernet (iSCSI-A)" -ServerAddresses $ManagmentDNS1
Write-Host "$CurrentDate --> Configuring IPv4 address for the iSCSI-B virtual NIC"
Write-Output "$CurrentDate --> Configuring IPv4 address for the iSCSI-B virtual NIC" | Add-Content $LogPath
New-NetIPAddress -InterfaceAlias "vEthernet (iSCSI-B)" -IPAddress $CSV2IPv4 -PrefixLength 24
#Set-DnsClientServerAddress -InterfaceAlias "vEthernet (CSV2)" -ServerAddresses $ManagmentDNS1
#Write-Host "$CurrentDate --> Configuring IPv4 address for the VMNet virtual NIC"
#Write-Output "$CurrentDate --> Configuring IPv4 address for the VMNet virtual NIC" | Add-Content $LogPath
#New-NetIPAddress -InterfaceAlias "vEthernet (VMNet)" -IPAddress $VMNetIPv4 -PrefixLength 24
#Set-DnsClientServerAddress -InterfaceAlias "vEthernet (VMNet)" -ServerAddresses $ManagmentDNS1
Write-Host "$CurrentDate --> Hyper-V Configuration is Complete"
Write-Output "$CurrentDate --> Hyper-V Configuration is Complete" | Add-Content $LogPath
catch [Exception]
throw "$_" | Add-Content $LogPath
I would really like to know why I'm getting absolutely poor performance. Any help on this would be most appreciated.I didn't parse the entire script, but a few things stand out.
SR-IOV and teaming don't mix. The purpose of SR-IOV is to go straight from the virtual machine into the physical adapter and back, completely bypassing the entire Hyper-V virtual switch and everything that goes with it. Team or SR-IOV.
You're adding DNS servers to adapters that don't need them. Inbound traffic is going to be confused, to say the least. The only adapter that should have DNS addresses is the management adapter. For all others, you should run Set-DnsClient -RegisterThisConnectionsAddress
$false.
I don't know that I'm reading your script correctly, but it appears you have multiple adapters set up for management. That won't end well.
It also looks like you have QoS weights that total over 100. That also won't end well.
I don't know that these explain poor performance like you're describing, though. It could just be that you're a victim of network adapters/drivers that have poor support for VMQ. Bad VMQ is worse than no VMQ. But, VMQ+teaming+SR-IOV sounds like recipe for
heartache to me, so I'd start with that.
Eric Siron Altaro Hyper-V Blog
I am an independent blog contributor, not an Altaro employee. I am solely responsible for the content of my posts.
"Every relationship you have is in worse shape than you think." -
Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running Google Maps app on the phone. SIRI cannot seem to get me to a specific address. Where does the problem lie? Also can anyone tell me the hierarchy of use between the Apple Maps, SIRI, and Google maps when the app is on the phone? How do you choose one over the other as the default map usage? Or better still how do you suppress SIRI from using the Apple maps app when requesting a "go to"?
I have placed an address location into the CONTACTS list and when I ask SIRI to "take me there" it found a TOTALLY different location in the metro area with the same street name. I have included the address, the quadrant, (NE) and the ZIP code into the CONTACTS list. As it turns out, no amount of canceling the trip or relocating the address in the CONTACTS list line would prevent SIRI from taking me to this bogus location. FINALLY I typed in Northeast for NE in the CONTACTS list (NE being the accepted method of defining the USPS location quadrant) , canceled the current map route and it finally found the correct address. This problem would normally not demand such a response from me to have it fixed but the address is one of a hospital in the center of town and this hospital HAS a branch location in a similar part of town (NOT the original address SIRI was trying to take me to). This screw up could be dangerous if not catastrophic to someone who was looking for a hospital location fast and did not know of these two similar locations. After all the whole POINT of directions is not just whimsical pasttime or convenience. In a pinch people need to rely on this function. OR, are my expectations set too high?
How does the iPhone select between one app or the other (Apple Maps or Gppgle Maps) as it relates to SIRI finding and showing a map route?
Why does SIRI return an address that is NOT the correct address nor is the returned location in the requested ZIP code?
Is there a known bug in the CONTACTS list that demands the USPS quadrant ID be spelled out, as opposed to abreviated, to permit SIRI to do its routing?
Thanks for any clarification on these matters.siri will only use apple maps, this cannot be changed. you could try google voice in the google app.
-
General poor performance of my Mac mini
I have been using my mac mini for over a year, it continues to frustrate me how slow and unresponsive it can be even though I do very little with it, i.e organise photos and browse the web - usually looking for solutions to the poor performance problem!
I came a cross this app that has given me lots of information, unfortunately with my limited IT know-how there is nothing here that gives me any clues, as to the cause of the problem. I guess the red font is not good?
I'm sorry i can't be more specific about the problem other than to say that iPhoto and Safari the two programmes i use way more often than any other, keep giving me the beach ball. My internet speed is ok 25 Mbps down - 4.5 Mbps
Is there anything here that stands out as being wrong? if so any suggestions/ instructions for what I should do?
p.s. i had to quit Safari while writing this and have a report for this if it helps?
Any help much appreciated.
Problem description:
My mac is just generally very slow. I only use it to look at the internet and manage photos.
EtreCheck version: 2.1.5 (108)
Report generated 3 January 2015 16:03:59 GMT
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
Mac mini (Late 2012) (Verified)
Mac mini - model: Macmini6,2
1 2.3 GHz Intel Core i7 CPU: 4-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1600 MHz ok
BANK 1/DIMM0
2 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 4000
DELL U2412M 1920 x 1200
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: 5 days 22:14:3
Disk Information: ℹ️
APPLE HDD HTS541010A9E662 disk0 : (1 TB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 999.35 GB (759.01 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
USB Information: ℹ️
HP Photosmart B110 series
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Problem System Launch Daemons: ℹ️
[killed] com.apple.AssetCacheLocatorService.plist
[killed] com.apple.coreservices.appleid.passwordcheck.plist
[killed] com.apple.ctkd.plist
[killed] com.apple.wdhelper.plist
[killed] com.apple.xpc.smd.plist
5 processes killed due to memory pressure
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Dropbox Application (/Applications/Dropbox.app)
Wondershare Helper Compact Application (/Users/[redacted]/Library/Application Support/Helper/Wondershare Helper Compact.app)
Internet Plug-ins: ℹ️
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
QuickTime Plugin: Version: 7.7.3
Unity Web Player: Version: UnityPlayer version 4.5.5f1 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
3rd Party Preference Panes: ℹ️
Flash Player [Support]
Time Machine: ℹ️
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 999.35 GB Disk used: 240.33 GB
Destinations:
Time Capsule [Network]
Total size: 2.00 TB
Total number of backups: 56
Oldest backup: 2014-09-30 04:29:13 +0000
Last backup: 2015-01-03 15:37:35 +0000
Size of backup disk: Adequate
Backup size 2.00 TB > (Disk used 240.33 GB X 3)
Top Processes by CPU: ℹ️
110% com.apple.WebKit.Plugin.64
6% WindowServer
1% Activity Monitor
1% coreaudiod
1% sysmond
Top Processes by Memory: ℹ️
1.11 GB com.apple.WebKit.Plugin.64
73 MB iTunes
49 MB com.apple.WebKit.WebContent
39 MB mds
39 MB WindowServer
Virtual Memory Information: ℹ️
68 MB Free RAM
1.07 GB Active RAM
1.02 GB Inactive RAM
893 MB Wired RAM
63.93 GB Page-ins
2.15 GB Page-outs
Diagnostics Information: ℹ️
Jan 1, 2015, 11:43:39 AM /Library/Logs/DiagnosticReports/com.apple.WebKit.Plugin.64_2015-01-01-114339_[r edacted].cpu_resource.diag [Details]
Jan 1, 2015, 11:32:46 AM /Library/Logs/DiagnosticReports/WindowServer_2015-01-01-113246_[redacted].crash
Jan 1, 2015, 11:00:30 AM /Library/Logs/DiagnosticReports/com.apple.WebKit.Plugin.64_2015-01-01-110030_[r edacted].cpu_resource.diag [Details]
Jan 1, 2015, 10:19:03 AM /Library/Logs/DiagnosticReports/iBooks_2015-01-01-101903_[redacted].cpu_resourc e.diag [Details]Hi Linc Davis
Thank you for taking the time to respond.
I got this information from a time when I was opening up iPhoto, and then going to the iCloud folder. To be honest it wasn't the most disastrous of events, I did get a few beachballs and when I opened up a shared folder the photos weren't loaded as normal. As I get more lengthy delays in carrying out any activities I will post back the console results.
Just as a bit more info, I don't consider my problem an update to Yosemite problem, if anything since updating performance has been improved from Mavericks.
Do you have any comments about upgrading RAM from the 4GB I have?
Should I act on any of the messages in red from the EtreCheck report?
Many Thanks
Duncan
03/01/2015 19:30:18.331 com.apple.iCloudHelper[12481]: objc[12481]: Class FALogging is implemented in both /System/Library/PrivateFrameworks/FamilyCircle.framework/Versions/A/FamilyCircl e and /System/Library/PrivateFrameworks/FamilyNotification.framework/Versions/A/Famil yNotification. One of the two will be used. Which one is undefined.
03/01/2015 19:30:18.391 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
03/01/2015 19:30:19.162 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:30:19.162 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:30:19.163 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:30:19.163 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:30:19.186 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:30:19.187 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:30:19.188 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:30:19.188 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:30:19.188 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:30:19.188 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:30:25.446 WindowServer[7810]: common_reenable_update: UI updates were finally reenabled by application "iPhoto" after 10.70 seconds (server forcibly re-enabled them after 1.00 seconds)
03/01/2015 19:30:33.548 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:30:33.919 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:30:34.077 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:30:34.605 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:30:34.774 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:30:34.853 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:30:47.562 pkd[12123]: FCIsAppAllowedToLaunchExt [343] -- *** _FCMIGAppCanLaunch timed out. Returning false.
03/01/2015 19:31:10.695 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:31:10.807 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:31:16.961 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:31:18.514 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:31:18.593 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:31:22.538 discoveryd[49]: Basic Sockets SetDelegatePID() failed for PID[3491] errno[3] result[-1]
03/01/2015 19:31:27.912 mds[32]: (DiskStore.Normal:2376) 6052001 1.780097
03/01/2015 19:31:56.831 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:31:57.224 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:31:57.281 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:31:57.405 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:31:58.507 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:31:58.541 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:31:59.160 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:32:09.891 com.apple.InputMethodKit.UserDictionary[12456]: -[PFUbiquitySetupAssistant canReadFromUbiquityRootLocation:](1492): CoreData: Ubiquity: Error attempting to read ubiquity root url: file:///Users/Duncan/Library/Mobile%20Documents/com~apple~TextInput/Dictionarie s/.
Error: Error Domain=NSCocoaErrorDomain Code=134323 "The operation couldn’t be completed. (Cocoa error 134323.)" UserInfo=0x7f90e152a380 {NSAffectedObjectsErrorKey=<PFUbiquityLocation: 0x7f90e152a2e0>: /Users/Duncan/Library/Mobile Documents/com~apple~TextInput}
userInfo: {
NSAffectedObjectsErrorKey = "<PFUbiquityLocation: 0x7f90e152a2e0>: /Users/Duncan/Library/Mobile Documents/com~apple~TextInput";
03/01/2015 19:32:12.862 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:32:20.818 com.apple.SecurityServer[53]: Killing auth hosts
03/01/2015 19:32:20.819 com.apple.SecurityServer[53]: Session 100281 destroyed
03/01/2015 19:32:20.974 com.apple.SecurityServer[53]: Session 100577 created
03/01/2015 19:32:34.833 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:32:35.767 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:32:35.789 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:32:35.980 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:32:36.273 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:32:36.487 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:32:47.035 WindowServer[7810]: disable_update_timeout: UI updates were forcibly disabled by application "iPhoto" for over 1.00 seconds. Server has re-enabled them.
03/01/2015 19:32:50.555 WindowServer[7810]: common_reenable_update: UI updates were finally reenabled by application "iPhoto" after 4.52 seconds (server forcibly re-enabled them after 1.00 seconds)
03/01/2015 19:32:51.578 WindowServer[7810]: disable_update_timeout: UI updates were forcibly disabled by application "iPhoto" for over 1.00 seconds. Server has re-enabled them.
03/01/2015 19:32:52.745 WindowServer[7810]: common_reenable_update: UI updates were finally reenabled by application "iPhoto" after 2.17 seconds (server forcibly re-enabled them after 1.00 seconds)
03/01/2015 19:32:53.098 mds[32]: (DiskStore.Normal:2376) 6052001 1.279589
03/01/2015 19:33:03.332 BezelServices 245.23[7816]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2602
03/01/2015 19:33:03.332 BezelServices 245.23[7816]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2602
03/01/2015 19:33:11.961 mds[32]: (DiskStore.Normal:2376) 6052001 1.939804
03/01/2015 19:33:29.541 WindowServer[7810]: disable_update_timeout: UI updates were forcibly disabled by application "iPhoto" for over 1.00 seconds. Server has re-enabled them.
03/01/2015 19:33:32.354 WindowServer[7810]: common_reenable_update: UI updates were finally reenabled by application "iPhoto" after 3.81 seconds (server forcibly re-enabled them after 1.00 seconds)
03/01/2015 19:33:44.549 discoveryd[49]: Basic DNSResolver dropping message because it doesn't match the one sent Port:53 MsgID:20602
03/01/2015 19:33:54.055 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:34:05.143 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.143 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.165 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.165 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.165 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.166 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:05.499 discoveryd[49]: WCFNameResolvesToAddr: called
03/01/2015 19:34:05.499 discoveryd[49]: WCFNameResolvesToAddr: entering
03/01/2015 19:34:07.001 discoveryd[49]: Basic Sockets SetDelegatePID() failed for PID[3491] errno[3] result[-1]
03/01/2015 19:34:13.809 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:34:13.821 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:34:14.124 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:34:14.766 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:34:14.867 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End)
03/01/2015 19:34:17.769 WindowServer[7810]: scrollPhase Ended (4), but previous was 4 (not Began)
03/01/2015 19:34:18.186 WindowServer[7810]: scrollPhase MayBegin (128), but previous was 1 (not 0, Cancelled or End)
03/01/2015 19:34:18.186 WindowServer[7810]: scrollPhase Began (1), but previous was 1 (not 0, MayBegin or End) -
Poor performance and high number of gets on seemingly simple insert/select
Versions & config:
Database : 10.2.0.4.0
Application : Oracle E-Business Suite 11.5.10.2
2 node RAC, IBM AIX 5.3Here's the insert / select which I'm struggling to explain why it's taking 6 seconds, and why it needs to get > 24,000 blocks:
INSERT INTO WF_ITEM_ATTRIBUTE_VALUES ( ITEM_TYPE, ITEM_KEY, NAME, TEXT_VALUE,
NUMBER_VALUE, DATE_VALUE ) SELECT :B1 , :B2 , WIA.NAME, WIA.TEXT_DEFAULT,
WIA.NUMBER_DEFAULT, WIA.DATE_DEFAULT FROM WF_ITEM_ATTRIBUTES WIA WHERE
WIA.ITEM_TYPE = :B1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 4 0
Execute 2 3.44 6.36 2 24297 198 36
Fetch 0 0.00 0.00 0 0 0 0
total 3 3.44 6.36 2 24297 202 36
Misses in library cache during parse: 1
Misses in library cache during execute: 2Also from the tkprof output, the explain plan and waits - virtually zero waits:
Rows Execution Plan
0 INSERT STATEMENT MODE: ALL_ROWS
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'WF_ITEM_ATTRIBUTES' (TABLE)
0 INDEX MODE: ANALYZED (RANGE SCAN) OF 'WF_ITEM_ATTRIBUTES_PK' (INDEX (UNIQUE))
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
library cache lock 12 0.00 0.00
gc current block 2-way 14 0.00 0.00
db file sequential read 2 0.01 0.01
row cache lock 24 0.00 0.01
library cache pin 2 0.00 0.00
rdbms ipc reply 1 0.00 0.00
gc cr block 2-way 4 0.00 0.00
gc current grant busy 1 0.00 0.00
********************************************************************************The statement was executed 2 times. I know from slicing up the trc file that :
exe #1 : elapsed = 0.02s, query = 25, current = 47, rows = 11
exe #2 : elapsed = 6.34s, query = 24272, current = 151, rows = 25
If I run just the select portion of the statement, using bind values from exe #2, I get small number of gets (< 10), and < 0.1 secs elapsed.
If I make the insert into an empty, non-partitioned table, I get :
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.01 0.08 0 137 53 25
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.01 0.08 0 137 53 25and same explain plan - using index range scan on WF_Item_Attributes_PK.
This problem is part of testing of a database upgrade and country go-live. On a 10.2.0.3 test system (non-RAC), the same insert/select - using the real WF_Item_Attributes_Value table takes :
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.10 10 27 136 25
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.10 10 27 136 25So I'm struggling to understand why the performance on the 10.2.0.4 RAC system is so much worse for this query, and why it's doing so many gets. Suggestions, thoughts, ideas welcomed.
I've verified system level things - CPUs weren't/aren't max'd out, no significant paging/swapping activity, run queue not long. AWR report for the time period shows nothing unusual.
further info on the objects concerned:
query source table :
WF_Item_Attributes_PK : unique index on Item_Type, Name. Index has 144 blocks, non-partitioned
WF_Item_Attributes tbl : non-partitioned, 160 blocks
insert destination table:
WF_Item_Attribute_Values:
range partitioned on Item_Type, and hash sub-partitioned on Item_Key
both executions of the insert hit the partition with the most data : 127,691 blocks total ; 8 sub-partitions with 15,896 to 16,055 blocks per sub-partition.
WF_Item_Attribute_Values_PK : unique index on columns Item_Type, Item_Key, Name. Range/hash partitioned as per table.
Bind values:
exe #1 : Item_Type (:B1) = OEOH, Item_Key (:B2) = 1048671
exe #2 : Item_Type (:B1) = OEOL, Item_Key (:B2) = 4253168
number of rows in WF_Item_Attribute_Values for Item_Type = OEOH : 1132587
number of rows in WF_Item_Attribute_Values for Item_Type = OEOL : 18763670
The non-RAC 10.2.0.3 test system (clone of Production from last night) has higher row counts for these 2.
thanks and regards
Ivanhi Sven,
Thanks for your input.
1) I guess so, but I haven't lifted the lid to delve inside the form as to which one. I don't think it's the cause though, as I got poor performance running the insert statement with my own value (same statement, using my own bind value).
2) In every execution plan I've seen, checked, re-checked, it uses a range scan on the primary key. It is the most efficient I think, but the source table is small in any case - table 160 blocks, PK index 144 blocks. So I think it's the partitioned destination table that's the problem - but we only see this issue on the 10.2.0.4 pre-production (RAC) system. The 10.2.0.3 (RAC) Production system doesn't have it. This is why it's so puzzling to me - the source table read is fast, and does few gets.
3) table storage details below - the Item_Types being used were 'OEOH' (fast execution) and 'OEOL' (slow execution). Both hit partition WF_ITEM49, hence I've only expanded the subpartition info for that one (there are over 600 sub-partitions).
============= From DBA_Part_Tables : Partition Type / Count =============
PARTITI SUBPART PARTITION_COUNT DEF_TABLESPACE_NAME
RANGE HASH 77 APPS_TS_TX_DATA
1 row selected.
============= From DBA_Tab_Partitions : Partition Names / Tablespaces =============
Partition Name TS Name High Value High Val Len
WF_ITEM1 APPS_TS_TX_DATA 'A1' 4
WF_ITEM2 APPS_TS_TX_DATA 'AM' 4
WF_ITEM3 APPS_TS_TX_DATA 'AP' 4
WF_ITEM47 APPS_TS_TX_DATA 'OB' 4
WF_ITEM48 APPS_TS_TX_DATA 'OE' 4
WF_ITEM49 APPS_TS_TX_DATA 'OF' 4
WF_ITEM50 APPS_TS_TX_DATA 'OK' 4
WF_ITEM75 APPS_TS_TX_DATA 'WI' 4
WF_ITEM76 APPS_TS_TX_DATA 'WS' 4
WF_ITEM77 APPS_TS_TX_DATA MAXVALUE 8
77 rows selected.
============= From dba_part_key_columns : Partition Columns =============
NAME OBJEC Column Name COLUMN_POSITION
WF_ITEM_ATTRIBUTE_VALUES TABLE ITEM_TYPE 1
1 row selected.
PPR1 sql> @q_tabsubpart wf_item_attribute_values WF_ITEM49
============= From DBA_Tab_SubPartitions : SubPartition Names / Tablespaces =============
Partition Name SUBPARTITION_NAME TS Name High Value High Val Len
WF_ITEM49 SYS_SUBP3326 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3328 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3332 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3331 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3330 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3329 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3327 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3325 APPS_TS_TX_DATA 0
8 rows selected.
============= From dba_part_key_columns : Partition Columns =============
NAME OBJEC Column Name COLUMN_POSITION
WF_ITEM_ATTRIBUTE_VALUES TABLE ITEM_KEY 1
1 row selected.
from DBA_Segments - just for partition WF_ITEM49 :
Segment Name TSname Partition Name Segment Type BLOCKS Mbytes EXTENTS Next Ext(Mb)
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3332 TblSubPart 16096 125.75 1006 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3331 TblSubPart 16160 126.25 1010 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3330 TblSubPart 16160 126.25 1010 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3329 TblSubPart 16112 125.875 1007 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3328 TblSubPart 16096 125.75 1006 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3327 TblSubPart 16224 126.75 1014 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3326 TblSubPart 16208 126.625 1013 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3325 TblSubPart 16128 126 1008 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3332 IdxSubPart 59424 464.25 3714 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3331 IdxSubPart 59296 463.25 3706 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3330 IdxSubPart 59520 465 3720 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3329 IdxSubPart 59104 461.75 3694 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3328 IdxSubPart 59456 464.5 3716 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3327 IdxSubPart 60016 468.875 3751 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3326 IdxSubPart 59616 465.75 3726 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3325 IdxSubPart 59376 463.875 3711 .125
sum 4726.5
[the @ in the TS Name is my shortcode, as Apps stupidly prefixes every ts with "APPS_TS_"]
The Tablespaces used for all subpartitions are UNIFORM extent mgmt, AUTO segment_space_management ; LOCAL extent mgmt.regards
Ivan -
Invalid block count and poor performance
Hi - Can anyone help?
Running an early 2011 13' MBP on ML. For a year - 18 months I've noticed poor performance at times, consistently slow boot (sometimes 5 minutes to usable), occasional lockups and spotlight often reindexes itself and slows the system (much more than my previous MBP), I can't see anything that triggers it. I'm also getting recurring errors in Disk Utility of 'Invalid block count', every time I'll repair the disk (booting into recovery), but after a month of use the error will reappear. About three months ago I erased and reinstalled ML, some of my data was moved over in Time Machine but I didn't restore from it. The erase and reinstall hasn't made any difference and I'm still seeing the same issues. Hard disk SMART status appears to be fine.
Can anyone recommend any troubleshooting steps? I'm not sure what else to do, still under Applecare and was thinking maybe the HD isn't working correctly?
Cheers!Performance.
Activity Monitor – Monitor Performance Problems
Performance Guide
Why is my computer slow
Why your Mac runs slower than it should
Slow boot.
Startup - Slow Boot
Startup - Slow Boot (2)
Startup - Slow Boot (3)
Startup Issues - Resolve
Startup Issues - Resolve (2) -
Connceting FMS over RTMPT resulted in poor perfomance of whole application
Hi,
We are connecting to FMS 3.5.7 behind the firewall through rtmpt and we have very poor performance over whole application even though we are not playing video in the application.My question is does the rtmpt use port 80 over http eventhough when we dont play video in the application.does it effect performance of whole application when connected through rtmpt?.
Can you pleae suggest me the solution to imporve my perfomance of the applciation when atleast not playing video in the applicaiton.Please suggest some changes..Hi,
If you are accessing application from outside the firewall It cause problem in continuing the connection with FMS. you can see through wireshark, there will be reconnection very frequently. So, it is better to use rtmps for better performance. -
Poor Performance of Blackberry 9860-Torch Model RDP71UW
This is to inform you regarding my sincere concern over the blackberry product. I had bought a new blackberry torch 9860 11 months back and since then am facing problems because of the poor performance of the handset. During this period I have taken this handset 4times for servicing to your authorized service center. My data loss and of-course time is lost each time. Its too pathetic that I have to take the phone for service in the very first year of purchase and despite of that still has complaint. I am really sorry to say the performance of this reputed brand is far below the expectation and is poor that any cheap quality phones available in the market.
I am least satisfied with the quality of phone and also doubtful about the other blackberry models available in the market.
Finding no other alternative I am forced to forward this expecting a sincere reply and a solution to resolve the issues with my handset.
Regards
Sunil KumarI'm sorry to hear of your phone issues. Just to be clear, we're volunteers here and not actual RIM employees so any response you receive here is not directly from RIM.
We're very good at solving issues in these forums. If I could ask you to list any issues you're having, including what error message(s) you're seeing, what actions you performed when seeing such message(s), etc., we can tackle the issues one at a time. Hopefully with our help, you can cancel any future trips to the service depots.
We await your reply.
- If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated. -
Poor performance of managed workstation devices
Hi all togehter,
we have big problem with the speed of the ZCC, when I click view details by a managed workstation device.
It takes up to 60 seconds until the ZCC show me the details for the selected device.
Even if I click on the inventory, relationships and so on, it takes soooo long. But the poor performance is only at the Workstation devices not at the Server devices.
Or environment is:
ZCM 11.2.4
Oracle RAC 11.2.0.4 Database
Primary Server SUSE Linux Enterprise Server 11 on ESX 4
1800 managed devices
Thank you for your help
StefanOriginally Posted by dbriese
How many devices do you let ZCC display per page? We have seen increased loading times of the device details page if we set the workstation folder list view to display hundreds of or even all devices. Although this is actually a step before displaying a device's details the list view seems to have an impact on it.
We had some issues with performance (11.2.x) until we set the ZPM dashboard and trending down to 7 days (from 30). But if you're on Oracle be careful if you do that because the script that Novell uses doesn't do the purging in batches. It does them all and THEN issues a COMMIT. This, of course, makes Oracle write all the non-committed stuff to the logs, and can fill up a lot of disk space.
Anyway, once we did that, we're at over 4,000 managed workstations and I can pull up an entire list of workstations in under 30 seconds (1,000/page is the max).
We're on Oracle, but not RAC.
Currently on 11.3.2 on SLES 11 SP3 64-bit on VMware ESXi 5.1
We have tuned the primaries for the JVM memory ballooning as per the the VMware docs. -
Project Server 2013 Poor Performance
Hi Guys
On a new build of Project Server, we are experiencing poor performance across the board, Site Collection, Central Admin, everything is slow.
We have allocated 12GB and Quad core (lower end of the recommend scale). However as there are no users, I would expect it to be fine at the moment (Search is not setup or anything, just a simple service app with a pwa site provisioned).
What things can we check? From looking on the internet, Distributed Cache crops up a lot. Can this bring performance right down?
For the record, we have March 2013 PU and Oct 2013 CU applied.Hello,
There could be a number of causes, it is very difficult to diagnose without understanding the farm infrastructure. Can you give details of:
Number of servers in the farm + Specs
If virtual, is the host server over committed? Have you set up reservations for memory and CPU?
What is the storage?
What is the network speed between servers / storage etc?
Do you have any Anti-Virus software installed on the servers? If so, have you tested with it disabled on all servers in the farm?
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
Poor Performance with Fairpoint DSL
I started using Verizon DSL for my internet connection and had no problems. When Fairpoint Communications purchased Verizon (this is in Vermont), they took over the DSL (about May 2009). Since then, I have had very poor performance with all applications as soon as I start a browser. The performance problems occur regardless of the browser - I've tried Firefox (3.5.4), Safari (4.0.3) and Opera (10.0). I've been around and around with Fairpoint for 6 months with no resolution. I have not changed any software or hardware on my Mac during that time, except for updating the browsers and Apple updates to the OS, iTunes, etc. The performance problems continued right through these updates. I've run tests to check my internet speed and get times of 2.76Mbps (download) and 0.58Mbps (upload) which are within the specified limits for the DSL service. My Mac is a 2GHz PowerPC G5 runnning OSX 10.4.11. It has 512MB DDR SDRAM. I use a Westell Model 6100 modem for the DSL provided by Verizon.
Some of the specific problems I see are:
1. very long waits of more than a minute after a click on an item in the menu bar
2. very long waits of more than two minutes after a click on an item on a browser page
3. frequent pinwheels in response to a click on a menu item/browser page item
4. frequent pinwheels if I just move the mouse without a click
5. frequent messages for stopped/unresponsive scripts
6. videos (like YouTube) stop frequently for no reason; after several minutes, I'll get a little audio but no new video; eventually after several more minutes it will get going again (both video and audio)
7. response in non-browser applications is also very slow
8. sometimes will get no response at all to a mouse click
9. trying to run more than one browser at a time will bring the Mac to its knees
10. browser pages frequently take several minutes to load
These are just some of the problems I have.
These problems all go away and everything runs fine as soon as I stop the browser. If I start the browser, they immediately surface again. I've trying clearing the cache, etc with no improvements.
What I would like to do is find a way to determine if the problem is in my Mac or with the Fairpoint service. Since I had no problems with Verizon and have made no changes to my Mac, I really suspect the problem lies with Fairpoint. Can anyone help me out? Thanks.1) Another thing that you could try it is deleting the preference files for networking. Mac OS will regenerate these files. You would then need to reconfigure your network settings.
The list of files comes from Mac OS X 10.4.
http://discussions.apple.com/message.jspa?messageID=8185915#8185915
http://discussions.apple.com/message.jspa?messageID=10718694#10718694
2) I think it is time to do a clean install of your system.
3) It's either the software or an intermittent hardware problem.
If money isn't an issue, I suggest an external harddrive for re-installing Mac OS.
You need an external Firewire drive to boot a PowerPC Mac computer.
I recommend you do a google search on any external harddrive you are looking at.
I bought a low cost external drive enclosure. When I started having trouble with it, I did a google search and found a lot of complaints about the drive enclosure. I ended up buying a new drive enclosure. On my second go around, I decided to buy a drive enclosure with a good history of working with Macs. The chip set seems to be the key ingredient. The Oxford line of chips seems to be good. I got the Oxford 911.
The latest the hard drive enclosures support the newer serial ata drives. The drive and closure that I list supports only older parallel ata.
Has everything interface:
FireWire 800/400 + USB2, + eSATA 'Quad Interface'
save a little money interface:
FireWire 400 + USB 2.0
This web page lists both external harddrive types. You may need to scroll to the right to see both.
http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATAFW800_FW400USB
Here is an external hd enclosure.
http://eshop.macsales.com/item/Other%20World%20Computing/MEFW91UAL1K/
Here is what one contributor recommended:
http://discussions.apple.com/message.jspa?messageID=10452917#10452917
Folks in these Mac forums recommend LaCie, OWC or G-Tech.
Here is a list of recommended drives:
http://discussions.apple.com/thread.jspa?messageID=5564509#5564509
FireWire compared to USB. You will find that FireWire 400 is faster than USB 2.0 when used for a external harddrive connection.
http://en.wikipedia.org/wiki/UniversalSerial_Bus#USB_compared_toFireWire
http://www23.tomshardware.com/storageexternal.html
Maybe you are looking for
-
User Based whitelist with SpamAssassin
Hello, im currently setting up a IMS 5.2 with SpamAssassin as a spam filter. The user should be able to switch the Spam filter on and off. If the filter is on, a check required if the sender (From:) address is within the AddressBook of the receiver o
-
Hi,,,maybe someone can help on this? Just started this afternoon when opening pse8,,,error message error:150:30 saying something about liciencing?....it suggested i contact adobe support but after searching i ended up here,,,im using xp pro,,t
-
I Have a date . I want first day of that month. Please give me FM or coding reg vvv
-
HT201303 How can i buy from US apple store,since my country is not listed on the apple store
How can I buy from Apple store US, since my country is not listed on the store
-
Dear all, I encountered the below error while loading a master data attribute via process chain: "Return code 101 when converting field /BIC/MA1SDIV0 in record 109." Could anyone please guide me? Thank you. Rgds, Ann