• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jkozee
    J
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 39
    • Best 20
    • Controversial 0
    • Groups 1

    jkozee

    @jkozee

    Testers

    21
    Reputation
    923
    Profile views
    39
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    jkozee Unfollow Follow
    Testers

    Best posts made by jkozee

    • RE: Performance decrease using Hyper-V Win10 clients

      @Tom-Elliott Sorry for not seeing this sooner. PAGE_SIZE is defined as 4096, so the mask is being set to 4095, which is the same value that iscsi_iser.c uses (~MASK_4K).

      From the notes in LIS, I suspect that setting blk_queue_virt_boundary is supposed to insure that there are no gaps in th sg list, but they are still present, so the bounce buffer needs to be put back in place or the gaps need to be eliminated elsewhere.

      The patch author responded this morning and is looking into the slowdown report. I’ll post any updates as I hear them.

      posted in Bug Reports
      J
      jkozee
    • RE: Quick Image accepts blank password for users (6207)

      Looks good now. Thanks for the speedy fix.

      posted in Bug Reports
      J
      jkozee
    • Performance decrease using Hyper-V Win10 clients

      Anecdotally, it appears that both image captures and image deploys take longer in 6299 than my previous 5315 installation. I am using Windows 10 clients under Hyper-V.

      Is this expected/explainable behavior?

      If not, I can bring up both installations and provide some metrics between the two versions. I haven’t measured the overall capture/deploy times, but it definatelly takes longer for the partclone step to begin.

      Thanks.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      I don’t think anything was changed between versions, but I will verify. I will perform a detailed analysis and report my findings.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      I ran some tests that will hopefully prove useful.

      Both the client and server are VM’s on the same server. I used a single checkpoint on the client to run all of the tests. The server was tested from a checkpoint running 5315 and then upgraded to 6303 with a new checkpoint created, so that I can easily do additional tests if needed. The upgraded VM gives similar results as a new install on a VM that I originally observed the slow behavior. So, there should be no appreciable differences between the test scenarios, except for the updated FOG version.

      Deployment went from 6:03 to 8:54, with the most time increase seen during “Formatting initialized partition” before Partclone and “Resizing ntfs volume” after.

      Capture went from 18:03 to 25:52, with the most time increase seen during “Resizing filesysten” before Partclone and “Resizing ntfs volume” after.

      I will include additional data and times in separate posts for each test for closer inspection.

      Please let me know if you have any ideas, or anything else you would like to see tested.

      Thanks!

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      Sorry, long post as I have a limit on how often I can post

      5315-Capture
      #0:00

      • Verifying network interface configuration…Done

      • Checking Operating System…Windows 10

      • Checking CPU Cores…1

      • Send method…NFS

      • Checking In…Done

      • Mounting File System…Done

      • Preparing to send image file to server…Done

      • Checking Mounted File System…Done

      • Using Image: delme

      • Preparing backup location…Done

      • Looking for Hard Disks…Done

      • Re-reading Partition Tables…Done

      • Using Hard Disk: /dev/sda

      • Clearing part (/dev/sdal)…Done

      • Mounting partition (/dev/sdal)…Done

      • Removing page file…Done

      • Removing hibernate file…No hibernate found

      • Clearing ntfs flag…Done

      • Saving original partition table…Done

      • Saving Partition Tables (MBR)…Done

      • Possible resize partition size: 11263111 k

      • Running resize test /dev/sdal…Done

      • Resize test was successful

      • Resizing filesystem…Done

      • Clearing ntfs flag…Done

      • Resizing partition dev/sda1…Done

      • Checking Hard Disks…Done

      • Clearing ntfs flag…Done

      • Now FOG will attempt to upload the image using Partclone.

      • Processing Partition: /dev/sdal (1)

      • Using partclone.ntfs
        #0:23
        <<PARTCLONE>>
        #18:00

      • Image uploaded

      • Restoring MBR…Done

      • Resizing ntfs volume (/dev/sdal)…Done

      • Clearing ntfs flag…Done

      • Stopping FOG Status Reporter…Done
        #18:03

      6303-Capture
      #0:00

      • Verifying network interface configuration…Done
      • Checking Operating System…Windows 10
      • Checking CPU Cores…1
      • Send method…NFS
      • Attempting to check in…Done
      • Mounting File System…Done
      • Checking Mounted File System…Done
      • Checking img variable is set…Done
      • Preparing to send image file to server
      • Preparing backup location…Done
      • Setting permission on /images/00155d016673…Done
      • Removing any pre-existing files…Done
      • Using Image: delme
      • Looking for Hard Disk…Done
      • Reading Partition Tables…Done
      • Using Hard Disk: /dev/sda
      • Now FOG will attempt to upload the image using Partclone
      • Checking for fixed partitions…Done
      • Getting Windows/Linux Partition Count…Done
      • NTFS Partition count of: 1
      • EXTFS Partition count of: 0
      • Setting up any additional fixed parts
      • Saving original partition table…Done
      • Saving original disk/parts UUIDs…Done
      • Shrinking Partitions on disk
      • Clearing part (/dev/sda1)…Done
      • Mounting partition (/dev/sdal)…Done
      • Removing page file…Done
      • Possible resize partition size: 11263111 k
      • Running resize test /dev/sdal…Done
      • Resize test was successful
        #0:18
      • Resizing filesysten…Done
        #4:53
      • Resizing partition /dev/sdal…Done
      • Clearing ntfs flag…Done
      • Saving shrunken partition table
      • Saving Partition Tables (MBR)…Done
        #4:53
        <<PARTCLONE>>
        #22:44
      • Image Uploaded
      • Restoring Original Partition Layout…Done
        #22:44
      • Resizing ntfs volune (/dev/sda1)…Done
        #25:49
      • Clearing ntfs flag…Done
      • Stopping FOG Status Reporter…Done
      • Task Complete
      • Updating Database…Done
      • Rebooting system as task is conplete
        reboot: Restarting system
        #25:52

      5315-Deploy
      #0:00

      • Verifying network interface configuration…Done

      • Checking Operating System…Windows 10

      • Checking CPU Cores…1

      • Send method…NFS

      • Attempting to send inventory…Done

      • Checking In…Done

      • Mounting File System…Done

      • Checking Mounted File System…Done

      • Starting Image Push

      • Using Image: delme

      • Looking for Hard Disks…Done

      • Checking write caching status on HDD…Enabled

      • Erasing current MBR/GPT Tables…Done

      • Restoring Partition Tables (MBR)…Done

      • Extended partitions…Done

      • Expanding partition table to fill disk…Done

      • Processing Partition: /dev/sdal (1)
        #0:28
        <<PARTCLONE>>
        #6:00

      • Clearing ntfs flag…Done

      • Stopping FOG Status Reporter…Done

      • Resizing ntfs uolume (/dev/sda1)…Done

      • Clearing ntfs flag…Done

      • Backing up and replacing BCD…Done

      • Changing hostname…Done

      • Updating Computer Database Status

      • Database Updated!

      • Task is completed, computer will now restart.

      reboot: Restarting system
      #6:03

      6303-Deploy
      #0:00

      • Verifying network interface configuration…Done
      • Checking Operating System…Windows 10
      • Checking CPU Cores…1
      • Send method…NFS
      • Attempting to check in…Done
      • Mounting File System…Done
      • Checking Mounted File System…Done
      • Checking img variable is set…Done
      • Attenpting to send inventory…Done
      • Using Image: delme
      • Looking for Hard Disk…Done
      • Using Disk: /dev/sda
      • Write caching not supported
      • Preparing Partition layout
      • Wiping /dev/sda partition information
      • Erasing current MBBA3PT Tables…Done
      • Creating disk with new label…Done
      • Initializing /dev/sda with NTFS partition…Done
        #0:20
      • Formatting initialized partition…Done
        #3:53
      • Erasing current MBR/GPT Tables…Done
      • Restoring Partition Tables (MBR)…Done
      • Inserting Extended partitions…Done
      • Attempting to expand/fill partitions…Done
        #3:57
        <<PARTCLONE>>
        #5:53
      • Clearing ntfs flag…Done
        #5:53
      • Resizing ntfs volume (/dev/sda1)…Done
        #8:51
      • Clearing ntfs flag…Done
      • Resetting UUIDs for /dev/sda
      • Resettings swap systems
      • Stopping FOG Status Reporter…Done
      • Mounting directory…Done
      • Changing hostname…Done
      • Task Complete
      • Updating Database…Done
      • Rebooting system as task is complete
        reboot: Restarting system
        #8:54
      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      I should also note that 5315 == kernel 4.3.0 and 6303 == kernel 4.4.1, as that’s probably relevant. I have tested tried an older kernel on 6303, but can if needed.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      New tests indicate the slowdown exists in kernel 4.4.0 (x86_64) and 4.4.1 (x86_64), but 4.3.0 (x86_64) appears to be fine.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      @Sebastian-Roth said:

      Do you mean 6303 with kernel 4.3.0 is as fast as 5315?? Can you please verify if you see such drastic differences (where exactly? still resize ntfs…?) just by using older/newer kernel!

      Actually it may be faster. I ran a deploy test using the same VM’s with 6307 using kernel 4.3.0, and it completed in 4:18. To be accurate, I would need to repeat all of the tests to compare 5315/4.3.0 and 6307/4.3.0 under the same server load. But it’s probably safe to say it’s as fast using the older kernel.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      Here are the metrics comparing 6307 using kernel 4.3.0 and 4.4.1. Looking at the numbers, it’s safe to say that 6307/4.3.0 is faster than 5315/4.3.0 and far faster than 6307/4.4.1 when using a VM client on Hyper-V.

      Let me know if there are any more measurements required. I’ll keep the VMs around for a day or two.

      6307-4.3.0-Capture
      #0:00
      #0:18

      • Resizing filesysten…Done
        #0:18
        #0:19
        <<PARTCLONE>>
        #14:19
        #14:20
      • Resizing ntfs volune (/dev/sda1)…Done
        #14:20
        #14:25

      6307-4.4.1-Capture
      #0:00
      #0:17

      • Resizing filesysten…Done
        #4:53
        #4:54
        <<PARTCLONE>>
        #22:42
        #22:43
      • Resizing ntfs volune (/dev/sda1)…Done
        #25:49
        #25:53

      6307-4.3.0-Deploy
      #0:00
      #0:20

      • Formatting initialized partition…Done
        #0:20
        #0:24
        <<PARTCLONE>>
        #4:11
        #4:11
      • Resizing ntfs volume (/dev/sda1)…Done
        #4:12
        #4:14

      6307-4.4.1-Deploy
      #0:00
      #0:20

      • Formatting initialized partition…Done
        #3:53
        #3:57
        <<PARTCLONE>>
        #5:42
        #5:42
      • Resizing ntfs volume (/dev/sda1)…Done
        #8:49
        #8:52
      posted in Bug Reports
      J
      jkozee

    Latest posts made by jkozee

    • RE: Performance decrease using Hyper-V Win10 clients

      @Sebastian-Roth Sure, I’ll help out if I can. Do you have links to the wiki pages you’re working on?

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      No resolution on this issue yet. (One of?) the author of the patch has confirmed the behavior and is investigating a kernel solution that doesn’t re-introduce the bounce buffers. No indication on how long this might take.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      @Tom-Elliott Sorry for not seeing this sooner. PAGE_SIZE is defined as 4096, so the mask is being set to 4095, which is the same value that iscsi_iser.c uses (~MASK_4K).

      From the notes in LIS, I suspect that setting blk_queue_virt_boundary is supposed to insure that there are no gaps in th sg list, but they are still present, so the bounce buffer needs to be put back in place or the gaps need to be eliminated elsewhere.

      The patch author responded this morning and is looking into the slowdown report. I’ll post any updates as I hear them.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      I reached out to the author of the patch. I’ll post if any new information becomes available.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      @Sebastian-Roth Oops, yes page_size is not part of the sdevice struct. It would probably be more appropriate to rollback the 81988a0e6b031bc80da15257201810ddcf989e64 anyhow. Leaving blk_queue_virt_boundary set to 0, rather than setting it to PAGE_SIZE-1 appears to fix the slowdown, but it would to take some research to determine what other impact that might have. I’ll probably just revert to 4.3.2 for my VMs until I have more time to investigate the issue.

      Edit:
      In fact, it looks like “Linux Integration Services for Microsoft Hyper-V” also diverge from the Bounce buffer commit: https://github.com/LIS/lis-next/blob/master/hv-rhel6.x/hv/storvsc_drv.c

      Looks like at least one of the authors of storvsc_drv.c is on the project, but not active.

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      Maybe this makes more sense: blk_queue_virt_boundary(sdevice->request_queue, sdevice->page_size - 1);

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      So, adding that line to 4.3.2 results in performance degradation and removing it from 4.4.2 results in performance increase. Guess all that’s left is to figure out (understand) what it actually does…

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      To me, these lines from the commit look most interesting:
      /* Ensure there are no gaps in presented sgls */
      blk_queue_virt_boundary(sdevice->request_queue, PAGE_SIZE - 1);

      posted in Bug Reports
      J
      jkozee
    • RE: Performance decrease using Hyper-V Win10 clients

      Still seems more like the issue should be with the block device, rather than the scsi driver. Seems like it would be related to caching or block size/block alignment of the ssd.

      posted in Bug Reports
      J
      jkozee
    • RE: Fatal Error: Unknown mode :: onlydebug 6303 (kernel 4.4.1)

      @Tom-Elliott Thanks! Works as expected. And I see the confusion regarding this bug. I didn’t report it very clearly, and you took it mean the the result of the “fog” script within the debug session vs the actual start of the task. I’ll take care to report more completely in the future. Thanks again for all your efforts here!

      posted in Bug Reports
      J
      jkozee