search for: __jiffies

Displaying 8 results from an estimated 8 matches for "__jiffies".

2016 Mar 02
0
"Tick-counting" vs "Tick-less" timekeeping issues on VMs emulating BIOS PCs
...easily emulate the BIOS_timer at 0x046C but it has problems emulating a "real" timer interrupt to be hooked... That's the real problem. Just testing I have replaced the timing functions #define BIOS_timer 0x046C // Timer ticks typedef uint32_t jiffies_t; extern volatile jiffies_t __jiffies, __ms_timer; static inline jiffies_t jiffies(void) { return (*(volatile uint32_t *)BIOS_timer); } typedef uint32_t mstime_t; typedef int32_t mstimediff_t; static inline mstime_t ms_timer(void) { return ((*(volatile uint32_t *)BIOS_timer) * 55); } lpxelinux.0 hangs while legacy works OK. I thi...
2016 Mar 02
2
"Tick-counting" vs "Tick-less" timekeeping issues on VMs emulating BIOS PCs
On 03/01/16 21:11, H. Peter Anvin via Syslinux wrote: > On 03/01/16 07:21, Patrick Masotta via Syslinux wrote: >> >> At the moment I'm seeing timing issues on TFTP transfers (lwIP depends >> on the new interrupt based timer). I have consistently detected >> >> multiple Requests, double ACKs, etc. All these problems seem to be >> >> sourced on the
2007 Dec 12
5
[PATCH 0/6] paravirt patches - the non-integration part
Hi, This series corresponds do older patches in the paravirt series that was neither already applied, nor I will touch again. In general, they do not touch code that can be unified (at least, without being the unification a big problem on its own). They passed through this list a lot of times, so I feel them ready for inclusion, unless someone opposes. As with the other patches, they apply to
2007 Dec 12
5
[PATCH 0/6] paravirt patches - the non-integration part
Hi, This series corresponds do older patches in the paravirt series that was neither already applied, nor I will touch again. In general, they do not touch code that can be unified (at least, without being the unification a big problem on its own). They passed through this list a lot of times, so I feel them ready for inclusion, unless someone opposes. As with the other patches, they apply to
2015 Jun 17
3
EFI & PXE-booting: very slow TFTP performance on a VMWare test setup
...han 24s, not in over 5 minutes. So, there's something else going on, but what? I tried to figure out why a UDP packet on a virtual network with unlimited bandwidth and zero packet-loss would hit a 15ms timeout. The comment says it waits for 15ms, but it does this by counting volatile uint32_t __jiffies, which gets incremented from efi/main.c by an event initiated from the UEFI API. According to the comment near the #define DEFAULT_TIMER_TICK_DURATION, the jiffies should increment every 50 msec. So a jiffie is not 1 msec but 50 times longer. If this comment is correct, the actual timeout isn't...
2015 Jun 17
0
EFI & PXE-booting: very slow TFTP performance on a VMWare test setup
...ited bandwidth and zero packet-loss would hit a 15ms timeout. The You'd be surprised how much CPU and RAM speed influence this. Handling a sustained 2Gbps for example doesn't do well on most servers. > comment says it waits for 15ms, but it does this by counting volatile > uint32_t __jiffies, which gets incremented from efi/main.c by an event > initiated from the UEFI API. According to the comment near the #define > DEFAULT_TIMER_TICK_DURATION, the jiffies should increment every 50 msec. > So a jiffie is not 1 msec but 50 times longer. If this comment is > correct, the actu...
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths