Greetings, I am finally getting around to putting up some of my vacation images up on a web-site and wanted to use {Image,Perl}Magick to process them (Scale, Rotate, etc) before putting them up.
I noticed that after calling $img->Rotate(degrees=>-90.0) (for example) the process would seem to hang and system load would jump up. I thought maybe something is wrong with PerlMagick and so I attempted using: % convert image.jpg -rotate -90.0 rotated_image.jpg But that does the same thing. Seems to hang and system load goes up (~2.23 right now). A resized version of the source image works fine. So I'm wondering if I am running into some memory limitations? I used ktrace -p PID and after the ktrace.out file grew to about 7+MB I stopped it and used kdump to see what I can gather. Not much besides a whole lot of: ... PID convert RET pwrite 8 PID convert CALL pwrite(0x3,0x3c3d1520,0x8,0,0x2ec528,0) PID convert GIO fd 3 wrote 8 bytes "$$55,,\0\0" ... So, is there any known performance issues with pwrite and large files? or is there something else wrong? The source image (jpg) file size is about 3.5MB (it is from an 8.3MP camera). I should point out that opening up the same image using xv and rotating it, or scaling it, works as desired. Should I post this to misc@ or is it in the proper mailing list? Thanks for any info, --patrick dmesg: OpenBSD 3.7-stable (GENERIC) #0: Mon Aug 1 19:32:49 PDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Sempron(tm) Processor 2600+ ("AuthenticAMD" 686-class) 1.61 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2 real mem = 536387584 (523816K) avail mem = 482521088 (471212K) using 4278 buffers containing 26923008 bytes (26292K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(6b) BIOS, date 04/08/05, BIOS32 rev. 0 @ 0xfa120 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown pcibios0 at bios0: rev 2.1 @ 0xf0000/0xc4b4 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc380/288 (16 entries) pcibios0: bad IRQ table checksum pcibios0: PCI BIOS has 17 Interrupt Routing table entries pcibios0: PCI Exclusive IRQs: 3 5 10 11 12 pcibios0: no compatible PCI ICU found pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Nvidia nForce3 250 PCI Host" rev 0xa1 pcib0 at pci0 dev 1 function 0 "Nvidia nForce3 250 ISA" rev 0xa2 "Nvidia nForce3 250 SMBus" rev 0xa1 at pci0 dev 1 function 1 not configured ohci0 at pci0 dev 2 function 0 "Nvidia nForce3 250 USB" rev 0xa1: irq 12, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1 at pci0 dev 2 function 1 "Nvidia nForce3 250 USB" rev 0xa1: irq 10, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0 at pci0 dev 2 function 2 "Nvidia nForce3 250 USB2" rev 0xa2: irq 11 ehci0: EHCI version 1.0 ehci0: companion controllers, 4 ports each: ohci0 ohci1 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: Nvidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: single transaction translator uhub2: 8 ports with 8 removable, self powered "Nvidia nForce3 LAN" rev 0xa2 at pci0 dev 5 function 0 not configured auich0 at pci0 dev 6 function 0 "Nvidia nForce3 250 AC-97 Audio" rev 0xa1: irq 3, nForce3 AC97 ac97: codec id 0x414c4780 (Avance Logic ALC658) ac97: codec features 20 bit DAC, 18 bit ADC, No 3D Stereo audio0 at auich0 pciide0 at pci0 dev 8 function 0 "Nvidia nForce3 250 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y080P0> wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <_NEC, DVD_RW ND-3540A, 1.01> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 pciide1 at pci0 dev 10 function 0 "Nvidia nForce3 250 SATA" rev 0xa2: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using irq 11 for native-PCI interrupt pciide1: channel 0 ignored (not responding; disabled or no drives?) pciide1: channel 1 ignored (not responding; disabled or no drives?) ppb0 at pci0 dev 11 function 0 "Nvidia nForce3 250 AGP" rev 0xa2 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Rage 128 Pro TF" rev 0x00 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 14 function 0 "Nvidia nForce3 250 PCI-PCI" rev 0xa2 pci2 at ppb1 bus 2 xl0 at pci2 dev 7 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 10, address 00:01:02:c2:a1:b9 bmtphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6 pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ff65 netmask ff65 ttymask ffe7 pctr: user-level cycle counter enabled dkcsum: wd0 matched BIOS disk 80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 uhidev0 at uhub0 port 3 configuration 1 interface 0 uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir. wsmouse0 at ums0 mux 0 cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error INFO: 0x3fa4f (VALID flag on) ASC/ASCQ: No Seek Complete cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error INFO: 0x393ef (VALID flag on) ASC/ASCQ: No Seek Complete cd0(atapiscsi0:0:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error INFO: 0x3cb3d (VALID flag on) ASC/ASCQ: No Seek Complete __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com