Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.13.2-nitro1 "Down with latency!'
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Sun Oct 02, 2005 5:52 am    Post subject: Reply with quote

Seppe: Any chance you could patch in plugsched in a later release?
I've never had good performance with staircase but all of the current patchsets seem to be using it, unfortunately.Even vanilla with nicksched works better than any kernel with staircase (for me) but I miss the voluntary pre-emption patches which make performance that bit better.I could live with just using 2.6.12-rc1-love1 perpetually but even that has its issues.
Alternatively if anyone knows how to get the ck + plugsched working together, let me know :)
Back to top
View user's profile Send private message
ankhcraft
n00b
n00b


Joined: 02 Oct 2005
Posts: 13

PostPosted: Sun Oct 02, 2005 5:22 pm    Post subject: Reply with quote

Yeah.... the AMD64 patch is a bit lame. You really need to at least return a value from that function. What value are you hoping the thing returns most of the time? Why not just return a constant?

Here's the text of the patch so others can see what I'm talking about:
Code:

diff -Nuar linux-2.6.13.2-nitro1/include/linux/dyn_pageflags.h linux-2.6.13.2-nitro1-modded/include/linux/dyn_pageflags.h
--- linux-2.6.13.2-nitro1/include/linux/dyn_pageflags.h 2005-09-23 05:01:37.000000000 +1000
+++ linux-2.6.13.2-nitro1-modded/include/linux/dyn_pageflags.h  2005-09-23 04:39:20.000000000 +1000
@@ -31,12 +31,14 @@

 static inline int __get_next_bit_on(dyn_pageflags_t bitmap, int counter)
 {
-       do {
-               counter++;
-       } while((counter < max_mapnr) &&
-               (!test_bit(PAGEBIT(pfn_to_page(counter)),
-                       PAGE_UL_PTR(bitmap, pfn_to_page(counter)))));
-       return counter;
+//     FIXME: Fix this dirty hack for AMD64.
+//
+//     do {
+//             counter++;
+//     } while((counter < max_mapnr) &&
+//             (!test_bit(PAGEBIT(pfn_to_page(counter)),
+//                     PAGE_UL_PTR(bitmap, pfn_to_page(counter)))));
+//     return counter;
 }

 /* With the above macros defined, you can do...


Alright, look, I'm just going to add the following line after the commented out return:

Code:
return ++counter;


This is the absolute *smallest* value that the original function would've been able to return. I don't want to compile my kernel w/ a function returning undefined values, and neither should anyone else here.

Not that I am ungrateful for the patch or a solution to problem. Not in the slightest. Just trying to make improvements.
Back to top
View user's profile Send private message
DROPTOTHETOP
n00b
n00b


Joined: 18 Sep 2005
Posts: 12

PostPosted: Mon Oct 03, 2005 1:15 am    Post subject: Reply with quote

Hey,

I am getting very slow hard drive read speeds with hdparm:
Code:

# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   1456 MB in  2.00 seconds = 727.38 MB/sec
 Timing buffered disk reads:   10 MB in  3.05 seconds =   3.28 MB/sec


I was using an mm2 patched vanilla source 2.6.13 and I was getting much higher speeds. I have the Nforce 2 Ultra chip. Before compiling the nitro sources I copied over my config from the vanilla sources so the device support should be correct. Does anyone have any suggestions?
_________________
- IAN

dropic.org/
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Oct 03, 2005 3:27 am    Post subject: Reply with quote

Check to see if DMA is enabled (just use hdparm). If not, double check that the correct driver is, infact, selected.
Back to top
View user's profile Send private message
ankhcraft
n00b
n00b


Joined: 02 Oct 2005
Posts: 13

PostPosted: Mon Oct 03, 2005 8:57 pm    Post subject: Reply with quote

So, does nobody have any comments on the amd64 patch implementing an invalid C function? A function returning a value must always return a value, or behaviour is undefined.

Although in reality, on amd64 the behaviour is defined thus:

Whatever value was last in the RAX register is the "returned" value. This is completely random and is definitely *not* what one wants.
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Oct 03, 2005 9:28 pm    Post subject: Reply with quote

I think that it is a valid concern, but since I'm not expierencing the problem on amd64, I didn't apply the patch, so it didn't effect me.
Back to top
View user's profile Send private message
lazx888
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2005
Posts: 118

PostPosted: Tue Oct 04, 2005 8:10 am    Post subject: Reply with quote

Just updated to nitro sources...

I have 2 sata drives (sda = root + boot, sdb = storage + windows)

Using the sii3114 drivers

sda is coming up fine, but sdb doesn't show up... :-/ the drive is fine b/c I can boot windows off it and RIP detects it...

In dmesg, there is no output for sdb being detected/failing/etc

Udev rules seem to be fine...

Here is some grub info: kernel (hd0,0)/boot/bzImage root=/dev/sda2 gentoo=nodevfs udev doscsi usb-handoff

Tried with just kernel (hd0,0)/boot/bzImage root=/dev/sda2 and this did not make a difference


I have searched the forums already, does anyone have any ideas/links?


Thanks
Back to top
View user's profile Send private message
m0p
Apprentice
Apprentice


Joined: 20 Jun 2005
Posts: 205
Location: en_GB

PostPosted: Tue Oct 04, 2005 3:00 pm    Post subject: Reply with quote

I'm still using 2.6.12-nitro5, is there any significant reason for me to upgrade yet? I know 2.6.13 adds alot of stuff but I'm sure that half of the stuff is unneccesary for me. You think it's really worth the upgrade?
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Tue Oct 04, 2005 6:34 pm    Post subject: Reply with quote

i had to revert back to 2.6.12-nitro5 as well since .13 was giving me a REALLY sluggish system. I'm still hoping for a 2.6.14 series release!
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Tue Oct 04, 2005 8:08 pm    Post subject: Reply with quote

Some day..... ;)
_________________
Retired gentoo user
Back to top
View user's profile Send private message
b3cks
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1481
Location: Bremen (GER)

PostPosted: Wed Oct 05, 2005 5:32 am    Post subject: Reply with quote

Tiger683 wrote:
Some day..... ;)


WOW, he's back! Welcome! :wink:
_________________
I am /root and if you see me laughing you better have a backup.
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Wed Oct 05, 2005 4:01 pm    Post subject: Reply with quote

Yes, Welcome back! Great to see you again! and maybe that someday will be sooner than later....?
Back to top
View user's profile Send private message
brot
Guru
Guru


Joined: 06 Apr 2004
Posts: 322

PostPosted: Wed Oct 05, 2005 6:19 pm    Post subject: Reply with quote

Tiger683 wrote:
Some day..... ;)


:) Nice to hear from you... Seppe did his job well,... I think *thank you seppe*

-

The problems with the swap prefetching should be fixed in ck7, which applies to 2.6.13, and patches to 2.6.13.3 .
Maybe this is worth releasing a new nitro ;)
Back to top
View user's profile Send private message
ThorstenHirsch
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 111

PostPosted: Wed Oct 05, 2005 9:27 pm    Post subject: Reply with quote

hdparm has also some problems here with 2.6.13.2-nitro1, the speed is about 40% less than normal. The settings are the same of course.
Quote:
# hdparm -tT /dev/hde

/dev/hde:
Timing cached reads: 1264 MB in 2.00 seconds = 631.15 MB/sec
Timing buffered disk reads: 102 MB in 3.08 seconds = 33.12 MB/sec
# hdparm /dev/hde

/dev/hde:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 256 (on)
geometry = 19457/255/63, sectors = 312581808, start = 0

The drive is connected to my second IDE controller chip, a HPT370/372.
Back to top
View user's profile Send private message
iphitus
Apprentice
Apprentice


Joined: 03 Aug 2005
Posts: 226

PostPosted: Thu Oct 06, 2005 12:02 am    Post subject: Reply with quote

Update to latest CK, -ck5 is old and has a few issues, including prefetch and another patch backported from mm.
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Thu Oct 06, 2005 1:03 am    Post subject: Reply with quote

satanskin wrote:
(...)and maybe that someday will be sooner than later....?


Maybe :wink:
_________________
Retired gentoo user
Back to top
View user's profile Send private message
artworcs
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2005
Posts: 126

PostPosted: Thu Oct 06, 2005 2:55 pm    Post subject: Reply with quote

I have just upgraded my kernel and i have a little problem:
The root block is unspecified or not detected.
My grub.conf looks like this:
Code:

# Boot automatically after 30 secs.
timeout 10

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1

title Linux Gentoo 2.6.13
root (hd0,2)
kernel (hd0,2)/gentoo/kernel-2.6.13-gentoo root=/dev/hda5

title Linux Gentoo 2.6.11 (Kernel 2.6.11-nitro2)
root (hd0,2)
kernel (hd0,2)/gentoo/kernel-2.6.11-nitro2 root=/dev/hda5

title Linux Gentoo 2.6.13 (Kernel 2.6.13.2-nitro1)
root (hd0,2)
kernel (hd0,2)/kernel-genkernel-x86-2.6.13.2-nitro1 root=/dev/hda5
initrd (hd0,2)/initramfs-genkernel-x86-2.6.13.2-nitro1


If i type /dev/hda5(this is where gentoo is installed) it boots normally.
Back to top
View user's profile Send private message
SchAmane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 107

PostPosted: Thu Oct 06, 2005 7:28 pm    Post subject: Reply with quote

Tiger683 wrote:
Maybe :wink:

Hi Tiger, nice to see you again, how was on vacation ? :lol:
What we can wait for next ? :twisted:
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Thu Oct 06, 2005 8:01 pm    Post subject: Reply with quote

SchAmane wrote:
Hi Tiger, nice to see you again, how was on vacation ? :lol:
What we can wait for next ? :twisted:


1) awesome

2) a nitro eventually ;)

to be more precise, 2.6.14-rc3-nitro1, an unstable release. I will use it to hook up with
the changes which happened since i was gone.
The list of mm-patches is already here:
mm-patches

cheers

T
_________________
Retired gentoo user
Back to top
View user's profile Send private message
satanskin
Guru
Guru


Joined: 25 Apr 2005
Posts: 353

PostPosted: Thu Oct 06, 2005 8:35 pm    Post subject: Reply with quote

Tiger683 wrote:
SchAmane wrote:
Hi Tiger, nice to see you again, how was on vacation ? :lol:
What we can wait for next ? :twisted:


1) awesome

2) a nitro eventually ;)

to be more precise, 2.6.14-rc3-nitro1, an unstable release. I will use it to hook up with
the changes which happened since i was gone.
The list of mm-patches is already here:
mm-patches

cheers

T


Nice! How long do you think it'll be before you have a release of it? And will it have reiser4 support? I'd be willing to help you test it out if needed. Let me know!
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Fri Oct 07, 2005 11:28 am    Post subject: Reply with quote

satanskin wrote:

How long do you think it'll be before you have a release of it?


If nothing breaks, approx. 5-6 hours after this post

satanskin wrote:

And will it have reiser4 support?


Ofcourse.

T
_________________
Retired gentoo user
Back to top
View user's profile Send private message
SchAmane
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 107

PostPosted: Fri Oct 07, 2005 2:00 pm    Post subject: Reply with quote

Tiger683 wrote:
satanskin wrote:

And will it have reiser4 support?

Ofcourse.
T

As its already part of -mm.
But i readed somewhere that there are some problems in reiser4 in patches for 2.6.14 kernels ?
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Fri Oct 07, 2005 2:44 pm    Post subject: Reply with quote

We will see.... :lol:
_________________
Retired gentoo user
Back to top
View user's profile Send private message
joefish
Guru
Guru


Joined: 27 Jan 2004
Posts: 316
Location: New Zealand

PostPosted: Wed Oct 12, 2005 10:15 am    Post subject: Reply with quote

This may sound like a silly question, but since I'm faily new to this nitro thing, please bear with me.

I'm having trouble with NFS, as described in this thread. Can someone please confirm whether or not this kernel version has the problem described there/here?

Thanks.
Back to top
View user's profile Send private message
joefish
Guru
Guru


Joined: 27 Jan 2004
Posts: 316
Location: New Zealand

PostPosted: Wed Oct 12, 2005 12:05 pm    Post subject: Reply with quote

Never mind, it seems my problems were caused by a bad line in my /etc/hosts file...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 7 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum